vs
QUICK ANSWER
"Years" is a form of "year", a noun which is often translated as "el año". Learn more about "year" below.
year()
A noun is a word referring to a person, animal, place, thing, feeling, or idea (e.g., man, dog, house).
2. (in school)
b. la generación (F) (class)
(f) means that a noun is feminine. Spanish nouns have a gender, which is either feminine (like la mujer or la luna) or masculine (like el hombre or el sol).
Prince William and I were in the same year at Eton College.El príncipe William y yo estuvimos en la misma generación en el Colegio Eton.