Local government in Pennsylvania is government below the state level in Pennsylvania. There are 6 types of local governments listed in the Pennsylvania Constitution: county, township, borough, town, city, and school district. All of Pennsylvania is included in one of the state's 67 counties, which are in total subdivided into 2,561 municipalities. There are currently no independent cities or unincorporated territories within Pennsylvania. Local municipalities can be governed by statutes enacted by the Pennsylvania General Assembly specific to the type and class of municipality; as a home rule municipality under a home rule charter adopted by the municipality; or by an optional form of government adopted by the municipality.
Each municipality falls under a certain type of municipality, and certain types of municipalities are then classified according to their population. The General Assembly sets the population threshold for certain types of municipalities. There are currently nine classifications for counties, four classes of cities, two classes of townships, five classes of school districts, and no classes for boroughs or towns.
Finally, villages and census-designated places are a part of the local community. Although they are not recognized local governments, they often refer to specific areas of township or other municipality and are often more familiar to people than the incorporated municipality. This can cause confusion to people who live outside the area and are not familiar with the local municipal structure.
More information on the Wikipedia page