Barcelona is a city in Spain and is quite famous for various things. Some of these things include the great…