How does reinforcement affect learning and what is the role of reinforcement in the classroom?

How does reinforcement affect learning and what is the role of reinforcement in the classroom?