Mechanical ventilation is a way of helping your lungs do their job if they are not able to on their own. A machine called a ventilator pumps air into your lungs through a tube in your mouth or nose. The air inside the machine is made of oxygen, which your body needs to stay healthy. The ventilator also helps your lungs push the air out so that extra air can come in. This helps to keep your lungs working and your body working.