Why do we fart? They are produced when air enters the digestive system, and when the air and gases present in the intestines are expelled through the anus.