Lightning is a violent flash of electricity that occurs between clouds or from cloud to ground, caused by the transfer of electrons between protons. To stay safe from lightning, one should avoid tall trees, turn off electric devices, get out of water, and avoid lying down.