Surge protection device, SPD is for protecting applainces in your house, office, hotel, church from lightening strikes, especially for SOLAR and inverter systems.
it diverts the excess voltage resulting from such strikes to the earth (ground) of the existing wiring of the place through the "earth" wire. therefore, it doesnt require much wiring.