When it comes to companionship, cats are often perceived as independent creatures who can entertain themselves for hours.