Discourse analysis examines language use beyond the sentence level and how language is used in social contexts, while text analysis focuses on formal linguistic cohesive devices within written texts. Some researchers use the terms interchangeably, but most agree the distinction is unclear. Discourse analysis is broader in investigating language in use with consideration of context, while text analysis concentrates on linguistic features linking sentences. The field would benefit from abandoning the term "text" in favor of discourse analysis to avoid confusion.