Quote Originally Posted by Lee Roberts View Post
An opto-isolator use light to transfers electrical signals between two circuits, preventing high voltage from affecting the system receiving the signal.

.Me
It's called Galvanic Isolation