A villain (also known as "bad guy," "black hat," villainess in its feminine form) is an evil fictional character, whether based on a historical narrative or one of literary fiction. Random House Unabridged Dictionary defines him or her as "a cruelly malicious person who is involved in or devoted to wickedness or crime; scoundrel; or a character in a play, novel, or the like, who constitutes an important evil agency in the plot". Its structural purpose is to serve as the opposition of the hero character and their motives or evil actions drive a plot along. In contrast to the hero, who is defined by their feats of ingenuity and bravery and their pursuit of justice and the greater good, a villain is often defined by their acts of cruelty, cunning and displays immoral behavior that can oppose or perverse justice. The antonym of a villain is a hero..