Apep or Apophis (also spelled Apepi or Aapep) is the ancient Egyptian deity who embodied chaos and was thus the opponent of light and Ma'at. He usually appears as a giant serpent.