Answer:
D. Mark its territory.
Explanation:
As a dog patrols its territory urinates. Male dogs in particular will urinate frequently, leaving pheromone-rich urine on objects to let other dogs know that the territory belongs to them.