More CTRL+C info.
Khepri is associated with the dung beetle (kheper), whose behavior of maintaining spherical balls of dung represents the forces which move the sun. Since the scarab beetle lays its eggs in the bodies of various dead animals, including other scarabs, and in dung, from which they emerge having been born, the ancient Egyptians believed that scarab beetles were created from dead matter. Because of this, they also associated the Khepri with rebirth, renewal, and resurrection. Indeed, his name (kheper in Egyptian) means to come into being.
Osiris is one of the oldest gods for whom records have been found and first appears in the Pyramid Texts around 2400 BC, when his cult is already well established. Osiris is the oldest son of the Earth god, Geb, and the sky goddess, Nut as well as being brother and husband of Isis, with Horus being considered his posthumously begotten son. He is usually depicted as a green-skinned pharaoh wearing the Atef crown, a form of the white crown of upper Egypt with a plume of feathers to either side.
As the personification of all that was evil, Apep was seen as a giant snake, crocodile, serpent, or in later years as a dragon. He had an alliance with Set and between the two of them would cause all kinds of problems. Apep was always the enemy of Ra, and he just got worse when Set came over to the dark side.
In a bid to explain natural phenomena it was said that occasionally Apep got the upper hand. The damage to order caused thunderstorms and earthquakes. Indeed: it was even thought that sometimes Apep actually managed to swallow Ra during the day, causing a solar eclipse, but since Ra's defenders quickly cut him free of Apep, the eclipse always ended within a few minutes.
Apep was not so much worshipped, as worshipped against. His defeat each night, in favour of Ra, was thought to be ensured by the prayers of the Egyptian priests and worshipers at temples. The Egyptians practiced a number of rituals and superstitions that were thought to ward off Apep, and aid Ra to continue his journey across the sky.