When a patient is intubated, mechanical ventilation is often necessary. As the patient's condition improves, much of his care is directed toward weaning him from the mechanical ventilator.