Discourse analysis considers the relationship between language and the context in which it is used by examining both spoken and written communication beyond the sentence level. It studies how people comprehend and produce speech acts in concrete situations through a pragmatic analysis. The cultural and social characteristics of speakers and audiences also influence communicative competence and cultural ways of speaking. Discourse shapes and is shaped by language, mediums, social identities, performances, and the differences between spoken versus written language use.