Coal is a combustible
Combustion or burning is the sequence of exothermic chemical reactions between a fuel and an oxidant accompanied by the production of heat and conversion of chemical species. The release of heat can result in the production of light in the form of either glowing or a flame...

 black or brownish-black sedimentary rock
Sedimentary rock
Sedimentary rock are types of rock that are formed by the deposition of material at the Earth's surface and within bodies of water. Sedimentation is the collective name for processes that cause mineral and/or organic particles to settle and accumulate or minerals to precipitate from a solution....

 usually occurring in rock strata
In geology and related fields, a stratum is a layer of sedimentary rock or soil with internally consistent characteristics that distinguish it from other layers...

 in layers or veins called coal beds or coal seams. The harder forms, such as anthracite coal, can be regarded as metamorphic rock
Metamorphic rock
Metamorphic rock is the transformation of an existing rock type, the protolith, in a process called metamorphism, which means "change in form". The protolith is subjected to heat and pressure causing profound physical and/or chemical change...

 because of later exposure to elevated temperature and pressure
Pressure is the force per unit area applied in a direction perpendicular to the surface of an object. Gauge pressure is the pressure relative to the local atmospheric or ambient pressure.- Definition :...

. Coal is composed primarily of carbon
Carbon is the chemical element with symbol C and atomic number 6. As a member of group 14 on the periodic table, it is nonmetallic and tetravalent—making four electrons available to form covalent chemical bonds...

 along with variable quantities of other elements, chiefly hydrogen
Hydrogen is the chemical element with atomic number 1. It is represented by the symbol H. With an average atomic weight of , hydrogen is the lightest and most abundant chemical element, constituting roughly 75% of the Universe's chemical elemental mass. Stars in the main sequence are mainly...

, with smaller quantities of sulfur
Sulfur or sulphur is the chemical element with atomic number 16. In the periodic table it is represented by the symbol S. It is an abundant, multivalent non-metal. Under normal conditions, sulfur atoms form cyclic octatomic molecules with chemical formula S8. Elemental sulfur is a bright yellow...

, oxygen
Oxygen is the element with atomic number 8 and represented by the symbol O. Its name derives from the Greek roots ὀξύς and -γενής , because at the time of naming, it was mistakenly thought that all acids required oxygen in their composition...

 and nitrogen
Nitrogen is a chemical element that has the symbol N, atomic number of 7 and atomic mass 14.00674 u. Elemental nitrogen is a colorless, odorless, tasteless, and mostly inert diatomic gas at standard conditions, constituting 78.08% by volume of Earth's atmosphere...

Throughout history, coal has been a useful resource for human consumption.