One light shines during the day, and another light shines at night. Those lights split the day time from the night time. God looked at those lights, and he saw that everything was good.
After that all happened, there was night time and there was morning time. That was day number 4.