Scarabs were popular amulets and impression seals in Ancient Egypt. In ancient Egyptian religion, the sun god Ra is seen to roll across the sky each day, transforming bodies and souls. The scarab beetles roll dung and lay eggs inside to provide food for the larvae. Therefore, the scarab was seen as a symbol of this heavenly cycle and of the idea of rebirth or regeneration. The Egyptian god Khepri, Ra as the rising sun, was often depicted as a scarab beetle or as a scarab beetle-headed man. The ancient Egyptians believed that Khepri renewed the sun every day before rolling it above the horizon, then carried it through the other world after sunset, only to renew it, again, the next day.