Semantics is the study of meaning. Meaning in this case refers to the relation between signifiers and what they stand for. Signifiers are words, signs and symbols.
The word semantics was first used by a French man named Michel Bréal. He studied the way that language was put together, how language changed as time passed, and the connections in languages. Semantics can include simple or very complicated ideas. In everyday speech, it means a problem with understanding language that can confuse because of the words or their connotation (another idea created by a word that is not in its definition). This problem of understanding has been studied for a long time, especially in the field of formal semantics, where people explain the connection between words and their meanings in a clear way.
In linguistics (the study of language), semantics is the study of the attempts to understand signs or symbols used in agents (the words that cause an action) or in different situations. Other items of language that are said to have meaning are sounds, facial expressions, body language, and proxemics, which is the use of personal space. Each of these topics connects to many ways of studying. In writing, things like the way paragraphs are written and the use of punctuation show meaning. Other types of language create other meanings.
Formal semantics is sometimes similar to many other areas of language study. Some of these are lexicology (study of words), syntax (ordering of words), pragmatics (the study of language in different situations), and etymology (the history of words). Semantics is also a well-defined field on its own.