In transport,tunnels can be connected together to form atunnelnetwork. These can be used inmining to reachore below ground, in cities for undergroundrapid transit systems, insewer systems, inwarfare to avoid enemy detection or attacks, as maintenance access routes beneath sites with high ground-traffic such asairports andamusement parks, or to extend public living areas or commercial access while avoiding outdoor weather.
Tunnel networks were sometimes developed duringsiege warfare, even dating back toclassical antiquity. Starting with a single tunnel being dug to undermine a wall that might be detected by the defenders and met with counter-tunnels, leading totunnel warfare. Defenders might first create a series of underground listing posts to preempt such mining attacks.

Any time the use oftrenches becomes extensive, this naturally leads to connecting them with tunnel networks for safe passage both along the trench lines and with rear areas. InWorld War I, when given enough time and resources, the underground components of the defenses could become more extensive than those above ground.
The FrenchMaginot Line, constructed from 1929 to 1939, was a chain of fortresses, bunkers, retractable turrets, outposts, obstacles, and sunken artillery emplacements, all linked by an extensive shell-proof tunnel network. It included underground barracks, shelters, ammo dumps and depots, and even had its own undergroundnarrow gauge railways.

Thetunnels of Củ Chi are an immense network of connecting tunnels located in theCủ Chi District ofHo Chi Minh City (Saigon),Vietnam, and are part of a much larger network of tunnels that underlie much of the country. The Củ Chi tunnels were the location of several military campaigns during theVietnam War, and were theViet Cong's base of operations for theTết Offensive in 1968.
The tunnels were used by Viet Cong soldiers ashiding spots during combat, as well as serving as communication and supply routes, hospitals, food and weapon caches and living quarters for numerous North Vietnamese fighters. The tunnel systems were of great importance to the Viet Cong in their resistance to American forces, and helped to counter the growing American military effort.
TheVịnh Mốc tunnels are a tunnel complex inQuảng Trị,Vietnam. During theVietnam War it was strategically located on the border ofNorth Vietnam andSouth Vietnam. The tunnels were built to shelter people from the intense bombing of Son Trung and Son Ha communes in Vinh Linh county ofQuảng Trị Province in theVietnamese Demilitarized Zone. The American forces believed the villagers of Vinh Moc were supplying food and armaments to the North Vietnamese garrison on the island of Con Co which was in turn hindering the American bombers on their way to bomb Hanoi. The idea was to force the villagers of Vinh Moc to leave the area but as is typical in Vietnam there was nowhere else to go. The villagers initially dug the tunnels to move their village 10 metres underground but the American forces designed bombs that burrowed down 10 metres. Eventually against these odds, the villagers moved the village to a depth of 30 metres. It was constructed in several stages beginning in 1966 and used until early 1972. The complex grew to include wells, kitchens, rooms for each family and spaces for healthcare. Around 60 families lived in the tunnels; as many as 17 children were born inside the tunnels.
The tunnels were a success and no villagers lost their lives. The only direct hit was from a bomb that failed to explode; the resulting hole was utilized as a ventilation shaft.
Three levels of tunnels were eventually built.
During the2014 Israel–Gaza conflict, the Israeli military uncovered and destroyed 32 cross-border tunnels that went on for miles beneathGaza and reached intoIsraeli territory. According to intelligence officials, Israeli engineers are developing a system that could detect and destroy cross-border tunnels for which the Israeli government has reportedly spent more than $250 million since 2004.[1][2][3][needs update]
A network of caves beneath the cities ofMosul andBadana were built byISIS. The terrorist group avoids battlefield engagements, preferring to hide in such tunnels safe fromsatellite detection,drone strikes andartillery, managed to maintain supply lines and communication with other areas under their control.[4][5][6][7][8][9][10]