In semantics and pragmatics, an instrument refers to a thematic role that indicates the entity or means by which an action is performed. It plays a critical role in understanding sentence structure, as it helps to clarify who or what is used to carry out the action of the verb, providing essential context to the meaning of the sentence.