Cats purr not only when they are happy but also when they are scared, when they are injured, or even when they are giving birth. While purring is commonly associated with contentment, cats also purr in other situations to self-soothe or communicate with their kittens. The exact reason for why cats purr is not completely understood, but it is believed to be a way for them to communicate and provide comfort to themselves and others in various situations.