What is the main reason for processing coal ore?

A) To increase heating value
B) To remove inorganic material
C) To eliminate pollution of groundwater
D) To recover other valuable minerals from the ore