This shows someone or something has a certain job or role. It means 'as a...' or 'being...'. This is a very old and formal way to speak.
、。
A person who is a teacher should always be fair towards students.
、に。
His decision as a leader saved many lives in the past.
、に。
One who is a king must not be swayed by personal feelings.
、に。
We followed him, as our leader, until the very end.
、に。
The mission of a university, as a seat of learning, is the pursuit of truth.