bro discovered animals use senses other than mirrors

If most animals can't recognize themself in a mirror. How do they recognize other animals as their own species?
I've heard that there are certain animals that can recognize themselves in mirrors like humans can. Which makes wonder if animals can't recognize themselves how do they recognize their own species?