A psychological defense mechanism in which a person attributes their unwanted traits or emotions to others.