In Egyptian mythology, Ra is the sun god.
Ra, also written Re, was one of ancient Egypt’s most important deities and was worshipped throughout the country. He was connected not only with the sun but also with kingship, the sky, order, creation, and life itself. His principal cult center was Heliopolis, where he was associated with the local creator god Atum.
Egyptian myth imagined the sun’s daily movement as a voyage. Ra traveled across the sky in a solar barque, then passed through the underworld during the night before returning at dawn. During this nocturnal journey, he faced Apophis, a giant serpent representing chaos. The sun’s reappearance symbolized renewal and the restoration of cosmic order.
Ra was commonly shown as a falcon-headed man wearing a solar disk and uraeus cobra. He was also combined with other gods: Ra-Horakhty joined him with Horus, while Amun-Ra reflected the later prominence of Amun. Aten was the solar disk and the focus of Akhenaten’s Atenist reforms, not the standard general answer to this question; Ptah was chiefly a creator and craftsman deity.