Theme is the overall message so in a fiction text it could be something that makes people think and use the message in someway and in nonfiction texts it’s usually a message about life and something associated with a specific situation or event.
Hope this helps