Answer:
It is believed that the first "doors" were invented in central Egypt, this is because the architecture contains many decorations of doors, and it was also used in tombs. The "doors" back then had many different styles and designs, unlike today, where everyone's is basically the same. However, despite this information, no one really knows who first invented it. But we do know that the first person to make an automatic door was the Heron of Alexandria. The reason as to why doors had first been created is because people used them to protect themselves from things such as wild animals, weather, and others that may harm them. With these reasons, people today still use doors for the same concept reason, as to protect themselves.