Hairpin turns are often built when a route climbs up or down a steep slope, so that it can travel mostly across the slope with only moderate steepness, and are often arrayed in a zigzag pattern.
On occasion, the road may loop completely, using a tunnel or bridge to cross itself at a different elevation (example on Reunion Island: ).