Lightning is a natural electrical discharge caused by the imbalance between storm clouds and the ground, resulting in a rapid release of energy that produces light and sound. It plays a crucial role in the nitrogen cycle by helping convert atmospheric nitrogen into compounds usable by plants.