Meaning of the word "in the capacity of" in English

What does "in the capacity of" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

in the capacity of

US /ɪn ðə kəˈpæsɪti əv/
UK /ɪn ðə kəˈpæsɪti əv/

Phrase

acting as or serving in the role of

Example:
She attended the meeting in the capacity of an observer.
He was speaking in the capacity of a legal advisor.