A capitol building (or just capitol) is a building in a capital city. People who control government work there to make laws. The building may have many offices.
Some offices are for legislators, the people who make the laws.
Some offices are for people who enforce laws, for example a president or governor. These people lead all people, and help them obey the laws.