a clergyman in charge of a chapel
a clergyman officially attached to a branch of the armed forces, an institution, a family, etc
chaplaincy noun
[Middle English chapelain via Old French from medieval Latin cappellanus custodian of the cloak of St Martin of Tours, from cappella: see chapel1]