Kipling began working on the book by telling the first three chapters as bedtime stories to his daughter Josephine. These had to be told "just so" (exactly in the words she was used to) or she would complain. The stories illustrate how animals obtained their distinctive features, such as how the leopard got his spots.