agent

a word that identifies the entity that does an action. For example, in the sentence ‘John ate the apple’, ‘John’ is the agent.