mining what is mineral by products