Why did the egyptians use the mummification process?

They used mummification to preserve the deseased body so that the soul was capable of moving on to the afterlife. The hot sand of the desert would dry out the body and the deseased wasn't able to make their way into the afterlife.
Egyptians believed that the human soul was connected to their hearts. So they wanted to protect it and preserve the dead.