Understanding the different types of coal involves first developing a basic understanding of how coal forms within the earth. The types of coal are differentiated by specific properties which result from having undergone varying degrees of heat and pressure over different lengths of time during formation. Coal takes millions of years to develop, and is derived from ancient plant matter that has been subjected to intense heat and pressure that affected physical and chemical alterations. The process through which coal forms from such ancient plants is known as coalification.