Why did the egyptains use the mummification process?

Egyptians used the mummification process to preserve dead bodies. A mummification was very expensive, therefore, normally only royalty could afford it.