Thematic roles are the functions that participants play in the context of an event described by a predicate. They help to explain the relationship between the verb and its arguments, indicating who is doing what in a sentence. Thematic roles categorize participants into distinct roles, such as agent, patient, experiencer, and more, providing insight into how meaning is constructed in language.