Semantics is the study of meaning, reference, or truth. The term can be used to refer to subfields of several distinct disciplines, including linguistics, philosophy and computer science.