Cats mark objects with their scent in order to communicate with other cats and to mark their territory. When cats rub against objects, they release pheromones from their cheeks, tail, and forehead, which helps them to identify their territory and ward off other cats. This behavior also helps cats to establish social hierarchies and to attract potential mates.