Volcanic pipes or volcanic conduits are subterranean geological structures formed by the violent, supersonic eruption of deep-origin volcanoes. They are considered to be a type of diatreme. Volcanic pipes are composed of a deep, narrow cone of solidified magma (described as "carrot-shaped"), and are usually largely composed of one of two characteristic rock types — kimberlite or lamproite. These rocks reflect the composition of the volcanoes' deep magma sources, where the Earth is rich in magnesium. Volcanic pipes are relatively rare. They are well known as the primary source of diamonds, and are mined for this purpose.

Diamond is a solid form of the element carbon with its atoms arranged in a crystal structure called diamond cubic. At room temperature and pressure, another solid form of carbon known as graphite is the chemically stable form, but diamond almost never converts to it. Diamond has the highest hardness and thermal conductivity of any natural material, properties that are utilized in major industrial applications such as cutting and polishing tools.

More Info: en.wikipedia.org