electronic
when ground is missing in circuit it won't operate properly, if earth is connected to the external metal body then voltage spikes will be earthed for safety purpose.you can check with 3pin power cord you check phase(L), neutral(N) and earth(E)