The Sun is indeed a star, but its visibility during the night is limited due to two main reasons: the Earth's rotation and its relative position in our solar system.
Earth's Rotation: The Earth rotates on its axis, causing day and night. During the day, the side of the Earth facing the Sun is illuminated, and we can see sunlight, making the Sun appear in the sky. However, during the night, the part of the Earth we are on rotates away from the Sun, causing the Sun to be below the horizon. This is why we don't see the Sun at night.
Relative Position: Our solar system consists of the Sun and various celestial bodies, including planets and other stars. The stars we see at night are typically located much farther away from us than the Sun. When the Sun is below the horizon at night, it is still relatively close to us compared to other stars. The brightness of the Sun overwhelms the faint light emitted by other stars, making them virtually invisible in the presence of sunlight.
It's important to note that although we can't see the Sun at night, its presence still affects our planet. The Sun's gravitational pull on the Earth and its radiation are crucial for maintaining our climate, weather patterns, and sustaining life on Earth.