There are three main types of earthing systems: TN, TT, and IT. The TN system has the neutral and protective earth conductors combined (TN-C) or separate (TN-S, TN-C-S). The TT system has a local earth connection at each device, while the IT system has no direct connection of the power system to earth. Each system has advantages and disadvantages regarding safety, fault protection, electromagnetic compatibility, and cost. Regulations vary by location regarding the acceptable earthing systems.