The theme of the tale is the childhood sin of disobedience. Tom Kitten is a young cat who lives with his mother, Mrs. Tabitha Twitchit, and sisters, Moppet and Mittens, in a house overrun with rats. Her children being an unruly bunch, Mrs. Twitchit puts Moppet and Mittens in a cupboard in order to keep them under control, but Tom Kitten escapes up the chimney. As he makes his way to the top of the house, he comes across a crack in the wall and, squeezing through it, finds himself under the attic's floorboards. There he meets the rats, Mr. Samuel Whiskers and his wife Anna Maria. They catch him and proceed to cover him with butter and dough they have stolen in order to eat him as a pudding. They are seen by the two other Kittens who are hiding from their mother as they steal the dough, butter, and rolling-pin. However, when they proceed to settle the dough with a rolling-pin, the noise gets through the floorboards and attracts the attention of Tabitha Twitchit and her cousin Ribby who has been helping search for Tom. They quickly call for John Joiner, the carpenter, who saws open the floor and rescues Tom. He has the dough removed, is washed, and the remains of the dumpling are eaten by the family. Whiskers and his wife escape to the barn of Farmer Potatoes, spreading their chaos to another location, though leaving the cat family residence in peace. Potter mentions herself as seeing Samuel Whiskers and Anna Maria making their escape, using a wheelbarrow that looks like her own. Tom is so affected by the incident that while his sisters become fine rat-catchers he is afraid of anything larger than a mouse.

Question: What were the rats planning on doing to Tom?
Answer: Making him into a pudding so they could eat him. 
Alternative answer: Eating him as a pudding