America is the name of a geographic area.  The country named "San Salvador" is located in the geographic area known as the Americas.  The geographic area of the Americas has two parts named "North America" and "South America".