Semiotics is the study of signs and symbols used in communication. It has three main branches: semantics focuses on the relationship between signs and their meanings, syntactics examines the formal relationships between signs, and pragmatics analyzes the effects of signs on those who use them.