During rains when lightning strikes, nitrogen and oxygen of air react to form nitric acid..
This nitric acid comes down to the earth with rain water and reacts with limestone in the soil to form nitrates..
These nitrates are absorbed by plants through their Roots and help them to make proteins.