noun
Refers to a task, responsibility, or part that someone or something is expected to fulfill. Often implies a sense of obligation or assigned purpose.
彼の役目は会議の準備をすることだ。
His duty is to prepare for the meeting.
The function of this part is to cool the engine.