Apophis
Apophis ( Apep, Apepi, or Aapep) was the god of evil in ancient Egyptian mythology who was considered as the deification of darkness and chaos, and thus opponent of god Re. Apophis is usually depicted as a giant snake, crocodile, serpent, or dragon( in the late period). He was given many titles indicating his vicious nature as the enemy of Ra including: Serpent from the Nile, and Evil lizard.

Apophis was known in ancient Egyptian mythology since the Middle Kingdom onward, but he was not so much worshiped as worshiped against. In many myths Apophis and Seth, Osiris Vicious brother, are considered the same or at least alliances. This is attributed to the belief of the Hyksus invaders that Seth was the major protector of Ra and their worship for him as their principal deity. The Egyptian hatred for the Hyksos made them believe that Seth was the god of evil and regard Apophis as his assistant.
There are numerous myths that show the great enmity between Ra and Apophis indicting that he attacks the solar boat of Ra every night to prevent him from spreading light in the world in the next morning. Thus there are nuerous spells, funerary formulas used by ancient Egyptians to spell Apophis out and help Ra to continue his journey with the solar boat.
