As an adjective:
* It means "second of two things mentioned".
* Example: "Of the two choices, I prefer the latter."
As a pronoun:
* It refers to the second of two things previously mentioned.
* Example: "The first option is expensive, but the latter is more affordable."
Let me know if you have any other words you'd like to understand the part of speech for!