How is Thunder Formed?

Thunder is actually a product of the lightning that comes before it. The extreme heat of lightning causes the air around it to heat up very fast. This rapid rise in temperature causes the air to expand and crack. That is the thunder. Look here for more information: