The process in which complex organic compounds are decomposed into simpler one in the presence of enzyme is called as fermentation.
Curd is formed from the milk by the process of fermentation only.
The lactobacillus converts the lactose from milk into the lactic acid which reduces the pH of the milk and thereby milk proteins get separated and yoghurt of the milk is formed. This is real life example of fermentation.