Langhans giant cells are formed through the fusion of multiple activated macrophages. This process is driven by cytokines such as interferon-gamma and tumor necrosis factor-alpha, which are released during chronic inflammation. These cytokines stimulate macrophages to undergo morphological changes and fuse together, resulting in the formation of a giant cell.