Actually there is no volt during normal condition. In case of any fault resistor will act as a low resistance path. because above mentioned components are high impedence components. so the huge fault (volt) will be grounded and the equipment remains safe.