Reinforcement learning: The algorithm repeatedly interacts with a dynamic environment with a specific goal, such as winning a game or driving a car. The algorithm approximates the optimal solution to the problem through repeated trial and error.