What is the purpose of galvanic isolation?
The main reason for galvanic isolation between an HV circuit (say mains) and an LV say (perhaps touched by people) is the safety of the people from electric shock.