Leaves are called the food factories of plants due to following functions
The solar energy is captured by the leaves and stored in the plant in the form of food. and this in turn use by other organism to get food to obtain energy Thus, sun is the ultimate source of energy for all living organisms.
Air generally consists of fungal spores. When these spores come in contact with warm things they germinate and grow. During rainy season, there are more chances of things getting wet.
Hence, fungi appear more in rainy season.