A mineral that is mined for its useful metal and nonmetals