Diamonds are formed under immense pressure and heat, which forces the carbon atoms to bond in a very specific and tightly packed crystal structure. This unique arrangement gives diamond its exceptional hardness, brilliance, and refractive properties.