A thunderstorm starts on a warm day. On a hot afternoon, sunlight heats the land. Pockets of warm air lift off and float upward, and they pile up into a tall, puffy cloud.
High up in the cloud, it is very cold. Tiny bits of ice and small hail form there. Strong winds toss them up and down inside the cloud. As they move, the cloud builds up electric charges.
When enough charge builds up, it is let out all at once in a giant spark. That spark is lightning. Lightning can jump inside a cloud, or it can reach down to the ground.
Lightning is very hot. It heats the air around it to about 50,000 degrees Fahrenheit. That is hotter than the surface of the sun! The hot air pushes out very fast and makes a loud boom. That boom is thunder.
Thunder can be heard from miles away. If you can hear thunder, lightning is close enough to be a danger. That is the time to go inside.