The theme of a story is like the core of it. It can be about love, friendship, courage, or any other big idea. It's figured out by looking at what the characters go through and what lessons we can take from the story.
The theme of a story is the main point or concept it's trying to get across. Authors decide on the theme based on what they want to express and the overall story events and character developments.