It may be:
a noun:
We study foreign languages.
a pronoun:
I visited them yesturday.
a numeral:
How many books did you buy? - I bought two.
a Gerund:
Do you remember our travelling in Estonia?
a Clause:
I remember what you said.