The main function of an Endotracheal Tube is to provide a secure airway and protect the lungs from contamination by allowing a ventilator to deliver air directly to the lungs. Inserting into the trachea (windpipe) to maintain an open airway, allowing a patient to receive oxygen and ventilation when they are unable to breathe on their own, typically during surgery or in critical medical situations.