A lost soul, tempted by candy and her childish innocence.  She got away once but when the Witch tricked her again, she made sure she could never escape her clutch again.  So, she threw Gretel in the fire capturing her in the flame to light the dark nights for the witch.

A magic lamp would be her prison.