Diamond is a crystalline allotrope of carbon. Its carbon atoms form a rigid three-dimensional network, which explains its exceptional hardness.