The process begins when an individual is exposed to a substance that the immune system recognizes as foreign. The body produces antibodies against these antigens, leading to the formation of antigen-antibody complexes. Under normal circumstances, these complexes are cleared by the immune system. However, if they are formed in excess or the clearance mechanisms are overwhelmed, they can deposit in tissues such as the kidneys, joints, and blood vessels, causing inflammation and damage.