Why is sun important to weather?

is because without the sun we wont have any warmth and plats need sun to grow. Without the sun all the plant die and we would have less oxygen!