The respiratory system allows for breathing and the exchange of oxygen and carbon dioxide throughout the body. It is made up of the lungs, which are the main organ, as well as the nostrils, pharynx, larynx, trachea, bronchi, bronchioles, and alveoli. Oxygen enters the body through the nostrils and is transported through the respiratory tract to the alveoli in the lungs, where it passes through membranes into the bloodstream and is circulated throughout the body by the circulatory system. The diaphragm and chest muscles help draw air in and out of the lungs during breathing.