The magic system in pen-and-paper role-playing games such as Dungeons & Dragons is largely based on patterns established in the novels of author Jack Vance.
"Mana" is a word that comes from a Polynesian language meaning something along the lines of "supernatural power".