First appearing in 1939’s Detective Comics #27 story The Case of the Chemical Syndicate by Bill Finger and Bob Kane, Batman has come to be recognized as one of the greatest comic creations of all time. As with many superheroes, the character embodies a certain degree of wish fulfillment—who wouldn’t want to be a billionaire by day and a dramatic crime fighter by night?—but the hero’s appeal runs deeper than this. Behind the money and the mask, Bruce Wayne is a damaged individual taking the pain of his loss out on the rest of the world, albeit in an arguably positive manner. As broached in Alan Moore and Brian Bolland's The Killing Joke, fans get the sense the Dark Knight is just one bad day away from the very villains that he fights.
Source:https://www.cbr.com/long-halloween-best-batman/