The formation of 8-oxoguanine occurs when guanine bases in DNA are exposed to oxidative stress, mainly from ROS such as hydrogen peroxide, superoxide, and hydroxyl radicals. These reactive molecules can be generated by environmental factors like radiation, pollution, or even normal metabolic processes. The oxidative damage primarily affects the 8th position of the guanine base, resulting in 8-oxoguanine.