What is the use of ventilator?

The ventilator is used to calm down the breathing and the airways to the lungs. It also calms down massive coughing fits.