A ventilator is a machine which artificially moves air in and out of the lungs of a patient in order to help them breathe if that patient cannot breathe on their own or breathe properly. Some ventilators can also be used in order give patients anesthesia and can be part of an anesthetic machine.