* Adjective: When it describes something that was in a particular state or position in the past.
* Example: "The former president visited the country."
* Noun: When it refers to someone or something that previously held a particular position or role.
* Example: "He was a former athlete."
The part of speech depends on how it's used in a sentence.