And now today it's an official language spoken in Spain and in Latin America. And it's part of the Latin language family, same with Italian and French. English and German are two examples of two Germanic languages.
And English is a mix of Anglo-Saxon, Gallic and Frankish. Spanish on the other hand is a Latin dialect. Someone speaking Spanish to someone speaking Italian would be able to understand each other just as well as someone speaking American English to someone speaking Jamaican English. The only difference is the Spaniards and Italians call their dialects different languages and Americans and Jamaicans don't.