coal mining - Coal deposits | Britannica
In geologic terms, coal is a sedimentary rock containing a mixture of constituents, mostly of vegetal origin. Vegetal matter is composed mainly of carbon, hydrogen, oxygen, nitrogen, sulfur, and some inorganic mineral elements. When this material decays under water, in the absence of oxygen, the carbon content increases. The initial product of this decomposition process is known as peat.