Copenhagen and Frederiksberg are separate municipalities, but they are located right next to each other. Copenhagen is the capital city of Denmark and has a larger population, while Frederiksberg is a smaller, more residential area.