We experience night and day because Earth rotates on its own axis.
At any one time only half of Earth is facing the sun.
While one half of the planet is in daylight the other half is in darkness.
As Earth rotates, it moves from daylight into darkness and then back into daylight.
It takes 24 hours for Earth to complete one full rotation.
The amount of daylight a place experiences during this 24-hour cycle depends on its latitude and on the time of year.
As well as rotating on its own axis, Earth revolves around the sun. It takes the Earth one year to complete one full revolution around the sun. There are around 365.25 days in a year.