Idiom: Out of the frying pan, into the fire

What does 'Out of the frying pan, into the fire' mean?

If you get out of one problem, but find yourself in a worse situation, you are out of the frying pan, into the fire.

See also: