A social security number, or SSN, is a unique identifying number associated with U.S. citizens and other residents in the country.