A condition in which the respiratory system is unable to provide enough oxygen to the body's tissues or remove enough carbon dioxide.