1. Human body acts as a carrier/conductor of current between source and earth.
2. If the current is successfully passes we get shock.
3. But if the circuit is broken that is we wear rubber slipper or wooden surface, non-conductors, we do not get shock.