How is black and brown coal produced?

Coal is formed by the burial and heating of large quantities of organic matter.

Brown coal is a low-grade form of coal, formed by moderate burial and pressure.

Black coal is formed by increasing pressure and temperature, removing more of the volatiles and resulting in a more carbon-rich coal.