What does A penny for your thoughts mean?

A penny for your thoughts meaning in Idioms Dictionary

This idiom is used as a means of asking someone what they're contemplating.