Discourse analysis is concerned with studying language in use and the relationship between language and context. It examines both written texts and spoken language. Several influential approaches developed in the 1960s and 1970s from fields including linguistics, psychology, and sociology. Discourse analysis considers how grammatical form relates to communicative function. It also examines speech acts, the structure of conversations and written texts, and how language is used as social activity.