In Spanish, the articles change according to the quantity and gender description of the noun.
Unlike English, in Spanish, all nouns like persons,places or things are distinguish according to the gender either it is masculine or feminine and the article must change according to the noun that is masculine or feminine and second thing is that either it is singular or plural.