The phenomenon of sunrise and sunset on Earth is not directly related to our planet's rotation around the Sun. Instead, it is primarily determined by the Earth's rotation on its axis.
The Earth rotates on its axis from west to east, completing one full rotation approximately every 24 hours, resulting in day and night. As the Earth rotates, different parts of its surface are alternately exposed to the Sun's light, creating the cycle of sunrise, daytime, sunset, and nighttime.
The reason we experience daylight and darkness is due to the Earth's spherical shape and the curvature of its surface. When a specific location on Earth rotates towards the Sun, it enters the illuminated portion and experiences daylight or sunrise. As it continues to rotate, the Sun appears to move across the sky, reaching its highest point at midday. Then, as the location rotates away from the Sun, it enters the shadowed portion and experiences sunset, leading to nighttime.
The Earth's orbit around the Sun is responsible for the changing seasons and the variation in daylight hours throughout the year, but it does not directly influence the daily cycle of sunrise and sunset.
It's important to note that while all parts of the Earth experience a sunrise and sunset every day, the exact timing and duration may vary depending on the latitude, time of year, and other geographical factors.