Here's why:
* Lightning Temperature: Lightning has an incredibly high temperature, reaching around 30,000 degrees Celsius (54,000 degrees Fahrenheit). This is hot enough to vaporize air and create a shockwave.
* Sun's Core Temperature: The core of the sun is estimated to be around 15 million degrees Celsius (27 million degrees Fahrenheit).
Therefore, the sun's core is significantly hotter than lightning.
It's important to remember that even though lightning is extremely hot, it's a brief and localized phenomenon. The sun's core, on the other hand, maintains its intense heat for billions of years.