What is the meaning of 'reap what you sow'?

What is the meaning of ‘reap what you sow’?