Semantics primarily focuses on the meaning of language elements, including words, phrases, and sentences.