Here's how it works:
1. Entry: A meteoroid, a small piece of rock or dust from space, enters Earth's atmosphere.
2. Friction: The meteoroid collides with air molecules, causing intense friction.
3. Heat: The friction generates immense heat, which causes the meteoroid and surrounding air to become incredibly hot.
4. Ionization: This extreme heat ionizes the air molecules, causing them to glow.
5. Visible Light: The glowing ionized air creates the bright streak of light we call a meteor.
So, the light we see is not coming from the meteoroid itself, but rather from the heated and ionized air surrounding it.