Electrical isolation is a safety and functionality measure used to prevent unwanted current flow between different parts of an electrical system, thereby protecting equipment and ensuring user safety. It is achieved through the use of insulating materials or devices like transformers and opto-isolators that separate electrical circuits without direct conductive connection.