This grammar shows what job or role someone has. It means 'as' or 'in the role of'.
。
He is working as a doctor.
。
Kyoto is famous as an ancient capital.
。
I have no intention of giving my opinion in the capacity of an expert.
、。
As a human being, I cannot forgive that act.