Castellano is the word we use to describe what they are taught in Spain, and Latin American Spanish is what we usually just call Spanish.
“Castellano” is the word used for Spanish in general in many countries in Latin America though