Meaning of the word "serves as" in English

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

serves as

US /sɜrvz æz/
UK /sɜːvz æz/

Phrasal Verb

to function or act as something specific

Example:
This room serves as a dining area and a living room.
His experience serves as a warning to others.