I apologize for the "coarse" question, but as a budding chemist, I want to know. Obviously some foods make people/animals fart more when those foods are consumed. What are the catabolic pathways which produce these waste gases? Do we know what the breakdown mechanisms are? My preliminary guess is that breaking down amino acids is the main source.