Literally 'to fire pottery (陶) and smelt metal (冶)' — shaping raw materials through heat. The metaphor extended to shaping a person's character through education and environment.
usage
Almost always paired with 情操 (moral sentiment) or 心灵 (spirit/soul). The phrase 陶冶情操 is extremely common and almost formulaic.