what isthe sun main thing on earth

You need to re-word this question. It doesn't make sense

I agree. Your question does not make sense. You must know what the sun is.

The sun is the main source of energy and light for Earth. It plays a crucial role in supporting life on our planet. Its main function is to emit electromagnetic radiation, especially visible light, which provides warmth and enables photosynthesis in plants. Additionally, the sun's gravitational pull keeps the planets in our solar system, including Earth, in their orbits. It also influences weather patterns and climate on Earth.