(Reinforcement Learning): In reinforcement learning, the action is an activity, step, process, or function that an agent performs given a specific state of the environment. Using the concept of “trial and error” for reinforcement learning, the actions are the trials. For example, if an agent is trying to find a solution to a maze, the action would be a movement in a particular direction.