The oxygen that we breathe in from the environment and four protons are taken up from the matrix of the mitochondria and we use the oxygen and the four protons to basically generate the two water molecules in the process.