Original: Today the entire building is used to house the Cathedral of the diocese of Córdoba in Spain.
Simplified: It used to be a mosque situated in the Andalusian city of Córdoba, Spain.