The study of how language is organized at a higher level beyond individual sentences to form coherent texts.