Definition of earn

What does the word earn mean?