Suppose I was standing in the sea, and touched an electric fence; I would receive an electric shock, because both my body and the sea are conductors, and create a path for the electricity to flow. The sea is so big that it has the capacity to draw and dissipate a great quantity of charge. However, if the sea was drained away, and I was standing on some rocks, would I still receive an electric shock, even though rock is not a conductor? And if I did receive a shock, where would this electricity even flow to? Would it just be dissipated amongst the rocks / soil / sand beneath my feet (even though they are insulators)?
My question comes from me wondering why we receive electric shocks at all, when there is usually some form of insulator between you and the charged object, such as your shoes, the carpet, several layers of bricks, and indeed the entire composition of soil and rocks beneath the building that make up the "Earth".