Fact 1: a planet rotating causes cycles of day and night on that planet. 
Fact 2: Rotation simply means how long it takes a planet to spin on its axis.
a planet spinning on its axis causes cycles of day and night on that planet.