The formation of 8-OHdG occurs through the attack of hydroxyl radicals, which are highly reactive species produced during normal cellular metabolism or introduced through external sources such as environmental pollutants, radiation, and smoking. These radicals can damage the DNA backbone, altering the guanine base to form 8-OHdG, which can then be mispaired during DNA replication, leading to mutations.