There are four main types of coal: lignite, sub-bituminous coal, bituminous coal, and anthracite. They differ in their carbon content, heat value, and weathering characteristics, ranging from lignite as the lowest form to anthracite as the highest form. Coal is a heterogeneous mixture that forms from the compression of peat and plant materials over millions of years. It varies in its calorific value and organic composition of elements like carbon, hydrogen, oxygen, sulfur, and nitrogen.