Pets vary in their ability to recognize themselves in a mirror. Some animals, such as dogs and cats, may not understand their reflection in a mirror as being themselves, while others, such as some birds and mammals like elephants and dolphins, have shown signs of self-recognition. This ability is often linked to an animal's level of intelligence and social behaviors.