This is the 240th most frequent French word.
an
"An" means "year" in English.
Here, 'ans' is used to express age, which is a standard usage in French to indicate how many years old someone is.
J'ai 25 ans.
I am 25 years old.
In this case, 'an' refers to a unit of time, specifically a year, used to indicate the duration of stay.
Nous avons passé un an en France.
We spent a year in France.
Here, 'an' denotes the frequency within a calendar year, indicating that the event happens two times annually.