Sumerians and Egyptians produced many foods using fermentation, such as bread, wine, and beer around 5,000 B.C.E. They did not have the knowledge to explain exactly how these products were made, nor why fermentation happened. Therefore, they commonly viewed ferment as a miracle provided by their gods.