How do You think they did it?

How do you think ancient Egyptians stack those heavy stones of the  pyramids?How do You think they did it?