How does air get into your lungs?

when you breath in a flap in your throat opens up, the air goes through this flap and into your lungs this is why it is bad to speak whilst eating because the food can go into the lungs this is also how tar from cigarettes gets into the lungs