The ancient Egyptians practiced astronomy and mathematics with astonishing accuracy, mapping out their cities and monuments according to the motion of the stars. The link between the Earth and the heavens was key to their religion, but it also laid the foundation for several modern sciences.