1) Fermentation is used to preserve foods obviously. Why would it prevent spoilage? In other words, how does it work?

2) If yeast produces CO2 and ethanol when we make bread, how come eating bread doesn’t make us drunk out of our minds?

Thanks.