A ventilator (VEN-til-a-tor) is a machine that supports breathing. These machines mainly are used in hospitals. Ventilators: 1  Get oxygen into the lungs. 2  Remove carbon dioxide from the body. (Carbon dioxide is a waste gas that can be toxic.)  Help people breathe easier.