When iron pipes come in contact with water and oxygen, iron transfers electrons to the oxygen molecules. Which statement about the reactants is correct?

oxygen is the reducing agent
iron is reduced and oxygen is oxidized
iron is the oxidizing agent
oxygen is reduced and iron is oxidized

iron is oxidized and oxygen is reduced