Catalonia is an autonomous community of Spain and an officially recognized Catalonia comprises four provinces: Barcelona, Girona, Lleida, and Tarragona. The capital and largest city is Barcelona, the second largest city in Spain.