capacity — The ability to accomplish one's given task.
function — A role or part that is given according to one's responsibility at work.