A capital is often a very large city, perhaps even the largest in a country. This is true for the UK, France, Germany and many others.
However, if a country is made up of many states or provinces, then the capital is often a small place compared to other cities and only contains the government offices. This is the case for the USA, Canada, Australia and others.