In linguistics, the topic, or theme, of a sentence is what is being talked about, and the comment (rheme or focus) is what is being said about the topic. That the information structure of a clause is divided in this way is generally agreed on, but the boundary between topic/theme and comment/rheme/focus depends on grammatical theory.
The difference between "topic" and grammatical subject is that topic is used to describe the information structure, or pragmatic structure of a clause and how it coheres with other clauses, whereas the subject is a purely grammatical category. Topic and subject must also be distinguished from actor (or agent), the "doer". In English clauses with a verb in the passive voice, for instance, the topic is typically the subject, while the agent may be omitted or may follow the preposition by. In some languages, word order and other syntactic phenomena are determined largely by the topic–comment (theme–rheme) structure. These languages are sometimes referred to as topic-prominent languages. Chinese and Japanese are often given as examples of this.
The distinction was probably first suggested by Henri Weil in 1844. Georg von der Gabelentz distinguished psychological subject (roughly topic) and psychological object (roughly focus). In the Prague school, the dichotomy, termed topic–focus articulation, has been studied mainly by Vilém Mathesius, Jan Firbas, František Daneš, Petr Sgall and Eva Hajičová. They have been concerned mainly by its relation to intonation and word-order. The work of Michael Halliday in the 1960s is responsible for developing linguistic science through his systemic functional linguistics model for English (see e.g. Halliday 1967–68, 1970).