Why do Male Cats Spray?

Male cats spray to mark territory or find a female to mate with. If you have a unfixed male with an unfixed female chances are the male will spray. It smells awful but there is nothing that can be done unless you get the cat fixed.