The egyptians realized that bodies decayed in coffins so they started a process called mummification.
Step 1. Let people know that the person has died.
Step 2. Embalm the body.
Step 3. Remove the brain
Step 4.Remove the internal organs.
Step 5. Dry out the body.
Step 6. Wrap the body.
Step 7. The final procession takes place.

The earliest ancient Egyptians buried their dead in small pits in the dessert. The heat and dryness of the sand dehydrated the bodies, creating lifelike and natural mummies. (Facts from