For the Pharaoh tombs
They were built as tombs.
The pyramids were created in order to protect the bodies of deceased pharaohs. Pyramids were built with the purpose of being able to withstand time and essentially last forever.
Pyramids are not being built today. And you have not said who they are.
the egyptians built them for the purpose of buring their dead pharohs inside, and they were needed for that purpose.
The pyramids that you are talking about were built to hold the remains of dead Egyptian (and other) pharoahs.
the pyramids were built predominantly in the old and middle kingdom periods, with the last of the pyramids being built by king Ahmose (the first ruler of the new kingdom period).
Egyptian pyramids were basically large elaborate tombs/memorials. Pharaohs commissioned the pyramids to be built so they could be buried inside.
Pyramids were build for the purpose of protecting the pharaoh it was built for, and all of his belongings that will be spiritually passed down with him to the afterlife. Step pyramids symbolized a walkway to heaven that spirits used to gain access to the afterlife.
Khufu
The pyramids were burial places for various Pharoahs. For a while, each one built a larger one than was already there, therefore, small, medium, and large pyramids were built.
The true pyramids were built by the Jewish people who were being enslaved by the Egyptians.
Blocks are a type of structure that holds up Pyramids and they are not part of Pyramids today because pyramids are no longer being built.