The respiratory system's main function is breathing. The lungs and trachea are the main organs that perform this function. When we eat, we get energy, but our cells need oxygen to convert food into energy. Our nose filters air before it reaches our lungs. In the lungs, bronchi tubes force air into alveoli, where oxygen passes to red blood cells and carbon dioxide is released back into the lungs.