Oxygen is heavily used to make ATP for cellular respiration in the electron transport chain. ATP is used for muscle contraction. There is something called the "oxygen debt" that must be "repaid" after heavy exercise or a race. They body tries to do this with deep and frequent breathing.