Explanation:
A chemical process in which loss of electrons occur is known as oxidation process.
For example, [tex]Cu(s) \rightarrow Cu^{2+}(aq) + 2e^{-}[/tex]
Therefore, when food is exposed to air for a longer period of time then oxygen molecules in the air forms an oxide layer upon it resulting in the oxidation of food. This is because food loses electrons and these electrons are gained by oxygen molecules.
Hence, food becomes unfit to consume, that is, food gets spoiled. This process is known as oxidation.