Discourse analysis is the study of language in use and context. It examines both spoken and written language beyond the sentence level to understand how language functions in real world situations. Discourse analysis focuses on elements like the relationship between participants, speech acts, discourse structures, and how language varies based on context and the social activity. Both spoken and written discourse have conventions like openings, closings, turn-taking, and cohesive devices that link ideas together to aid interpretation. Analyzing these elements can provide insights into how language constructs meaning based on its form and the context in which it is used.