Cats purr by using their laryngeal muscles to produce a continuous sound when they inhale and exhale. The exact reason why cats purr is not fully understood, but it's commonly believed to be a form of communication and self-soothing behavior. Cats may purr when they're content, relaxed, or seeking comfort.