Lightning is an electric current. Within a thundercloud way up in the sky, many small bits of ice bump into each other as they move around in the air.