The City of Greater New York includes 5 boroughs, of which the most renowned is Manhattan. In common usage, when someone refers to "New York City," they are often referring to the island of Manhattan.
See Manhattan Borough.