Citric acid is used to acidify milk and causes the separation of solids (curds) from liquid (whey).
Cultures also do this to a degree. Some cheese recipes that require culture can instead use citric acid to achieve the same result. For example Mad Millie Mozzarella uses Citric Acid, but other recipes available may use a culture.