The process begins with the preparation of an explosive charge, typically composed of substances like TNT (trinitrotoluene) and RDX (Research Department Explosive). Upon detonation, these chemicals undergo rapid decomposition, releasing a tremendous amount of energy. The high temperature and pressure conditions cause carbon atoms to rearrange into diamond-like structures, forming nanodiamonds. The resultant shockwave also aids in the formation of other nanomaterials by breaking down larger particles into nanoscale sizes.