A salamander is a small, legged amphibian. Because it sometimes emerged from burning wood, where it had been resting, there arose the mistaken belief that it was a fiery creature with unusual powers. Over time, the name became associated with an elemental spirit of fire.
In Dungeons & Dragons, a salamander is a powerful, magical creature of the Elemental Plane of Fire.