Ancient Egypt existed along the Nile River from 2800 BC to 1300 AD. The Egyptians made many discoveries and innovations, including a 365 day calendar, hieroglyphic writing, ships and sailing, irrigation techniques like the shaduf, and grand architecture like pyramids and the Sphinx. They also developed an intricate belief system involving gods like Osiris and Isis and the important role of the pharaoh. Trade was important between Egypt and other civilizations, and agriculture near the Nile provided a foundation for food like wheat, barley and grapes.