Semiotics is the theory of signs and symbols, which provides a framework for analyzing symbol systems.