Reinforcement learning is a machine learning training strategy that rewards desirable behaviours while penalising undesirable ones. A reinforcement learning agent can perceive and comprehend its surroundings, act, and learn through trial and error in general.