Definition of merit

What does the word merit mean?