Discourse analysis

Discourse analysis is a subject which studies a text or a conversation. This is a subject in linguistics which does not study sentences, like in syntax, but the entire text or conversation. The text or conversation is known as discourse. Discourse analyst prefer to use real life discourse in their studies, rather than invented sentences like in traditional linguistics. This way of studying real life discourse is called corpus linguistics. 
Discourse analysis is related to text linguistics. However, text linguistics studies how discourse is structured so that they are connected (how sentences are joined to each other). Discourse analysis studies this, and also how the discourse is connected to the context. This context includes who the people talking or writing are, the social and cultural context. Also, it studies the way mode, which is the way the language is represented (is it a letter, speech, email, Internat chat?), influences discourse. Discourse analysis is also interested in the genre (topic) of the discourse. 
Discourse analysis is studied not only in linguistics, but also in sociology, anthropology, psychology, communication studies and translation studies.