Vicariously

D&D has always had an element of wish fulfilment. Being outsiders in a social sense, the typical D&D player could live through their character and be the hero, get the girl, save the world, and more. For those who got into the game young, “more” often being “touch a boob” or “have a beer” or “kill anyone who pisses you off.”

Just like many sandbox video games do now, there’s a sense of empowerment and freedom in tabletop RPGs where you get to do anything, and this can sometimes lead to doing those things denied to you in your normal life. Moreso than video games, as you can add that guy who cut you off during your commute directly into the game, having him as the first victim of the horrible face eating monster of the week.