What is a Theme of a Story?

The theme of a story is the general idea or lesson of the story. For example, the theme of Little Red Riding Hood is to not talk to strangers. The theme can be thought of as what the story is trying to convey to the reader.