In folklore and anthropology, an ogre is any man-eating giant. They are not a race: any giant who eats men may be labelled an ogre. Folklore and fairy tales have never distinguished them as a distinct race. Based on tales like Puss in Boots, D&D bestiaries introduced the "ogre mage" and later spun it off into an entire family of "oni" very loosely based on Japanese folklore. As would be expected, the writers often misunderstood the original myths.