A member of a religious body who is (often, although not always, of the clergy) officially assigned to provide pastoral care at an institution, group, private chapel, etc.
A person without religious affiliation who carries out similar duties in a secular context.