Read this passage and open each verse for the full verse feed and commentary tools.
14And God said, "Let there be lights in the firmament of the heavens to separate the day from the night; and let them be for signs and for seasons and for days and years, 15and let them be lights in the firmament of the heavens to give light upon the earth." And it was so. 16And God made the two great lights, the greater light to rule the day, and the lesser light to rule the night; he made the stars also. 17And God set them in the firmament of the heavens to give light upon the earth, 18to rule over the day and over the night, and to separate the light from the darkness. And God saw that it was good.
Genesis 1:14-18 (RSV)