The female sprays to announce she is in heat and ready to mate
The male sprays to attract the female and let other males know this is his territory.
The urine contains pheromones. These pheromones are good smells to cats, but have more unpleasant odor to us than normal urine.
To maintain territory
Cats not only use their urine to mark their territory, but their entire body. When they rub against furniture and even you with their face, they are releasing those promotes to tell other cats this is my house and my people.
It signals to other cats, get out or prepare to fight.
Your pet has an underlying medical condition.
Your cat can be spraying or going outside the litter box due to a bladder infection, bladder stones, constipation or full or abscessed anal sacs. If you can eliminate these previous reasons for spraying, then it’s time for a visit to VIP Animal Care