Lightning in thunderstorms also helps keep the electrical balance between the earth and the atmosphere. Lightning is also fertilizer. When it splits through the sky, it changes nitrogen gas in the air to nitrogen compounds. These fall to the ground and are added to the soil. Nitrogen is one of the main ingredients in fertilizer. Ten percent of the nitrogen fertilizer needed for farming is made by lightning.