The Secret Life of Pets is a novelization or storybook adaptation of the animated film. The story is set in a New York apartment building and follows the adventures of a pampered terrier named Max, whose life is turned upside down when his owner adopts a massive, shaggy mutt named Duke. The two dogs find themselves lost in the city and must overcome their rivalry to survive the streets and evade a gang of disgruntled, abandoned pets. The book humorously details what pets do when their owners are gone.