Spiral Staircase

This photo is a spiral staircase located in China. I am shocked to see that they would make staircase up the side of a cliff. I want to know what caused to them to make it. What kind of traffic was there that needed them go up and down this cliff.