In 'Hansel and Gretel', a simile example is shown when Hansel springs 'like a bird out of a cage'.
The quotation from 'Hansel and Gretel' that is an example of a simile is:
'Then Hansel sprang like a bird out of a cage when the door is opened.'
This sentence compares Hansel's movement to a bird leaving a cage, using the word 'like' to show the similarity between the two actions.