You asked:

is a capital a city

Yes. A capital city is a city.