conductors allows smooth flow of electricity through them as they have very small resistance. On the other hand, insulators does not allow electricity to pass through them as they offer high resistance to current.
so touching the conductors easily transfers the electricity through the body resulting in shock.
touching the insulator allows very small current to pass to the body. hence the shock experienced in case of insulators is very weak.