How does the sun have night and day?

The Sun does not experience night and day.