If you have an older home, you may want to make sure that your electrical outlets are grounded. Grounding refers to the wire that runs from an outlet into the earth, inherently protecting homeowners ...
Go to Home Depot, they have a gadget that you plug into the socket and it has lights to indicate various faults with the line. Not too expensive IIRC... <$10.
All references are based on the 2017 edition of the NEC. When you want to replace a non-grounding-type receptacle but the wiring method does not include an equipment grounding conductor (EGC), such as ...