Apep (also known by his Greek name Apophis) was the evil god of darkness in Egyptian mythology and he was the archenemy of the Egyptian solar god Ra. He often appeared in the form of a giant, demonic snake, who each night attempted to devour the Sun after it left the sky, only to be repelled by the god Set (who ironically would take his place as the God of Evil of Egyptian Mythology as centuries went by). Other times, he would take the form of a giant sphere of malevolence. He was also considered the embodiment of chaos and sought to bring about the end of light and life within the mortal universe. He is said to live in the Egyptian underworld and despised by all of the deities in the mythology of which he originates.
During the day while Ra was still in the sky, he would devour the souls of those that were not protecting him, thus leading to their complete obliteration.
He was the only Egyptian god that never had the distinction of being prayed to. Instead, entire temples were set up to pray against him and prevent him from accomplishing his goals.