what role do insulators play in preventing electric shock?

because electricity cant travel through them