In writing, a main character that has agency in the story.
In reality, any person who does something that is viewed as morally good by society, but only if it is tough to do or of great importance at the moment of doing.
In ancient greek terms, any person capable of great deeds. Remeber, the most heroic act one can do is killing (or so it seems by ancient greek standards)