what was the role of chantry school in the middle ages​

Answer :

Schools of this sort at first arose out of bequests by wealthy persons to support foundations for priests who should 'chant' masses for the repose of their souls. ... Since these religious duties did not absorb all the time of the priests, they were able to do some teaching.