The more active metal is the reducing agent and the less active is the oxidizing agent.