Galvanic isolation
principle of isolating functional sections of electrical systems to prevent current
Galvanic isolation means separating two electrical structure from each other. One way to do it is to use a relay, another way to do it is to use an opto-isolator. Also transformer makes galvanic isolation.