What is The primary purpose of city government?

It's not "to offer services to residence." /:

It is to carry out state initiatives.
The primary purpose of city government is to provide basic services to the people who live in that city. Examples include trash collection, police, and firefighters.