An ogre was a mythical character in fairy tales.
In 2267, James T. Kirk mentioned ogres when listing instinctive humanoid fears. (TOS: "Catspaw")
In 2376, Neelix cited ogres as examples of why fairy tales were frightening to young children. (VOY: "The Haunting of Deck Twelve")