The sun is described as the “greater light” that rules the day in the creation account in Genesis. Its purpose was to mark and divide times and seasons.