Humans may have invented agriculture to make beer, and for millennia that beer was kinda sour. We explore the science and history of sour beer, plus the chemistry of flavor.