What is the meaning of the word "refining"?

Definitions: