The prosperity and general well-being of society, or the community we live in, is directly related to the education of its people. For that reason, the costs of education are deemed to be the responsibility of all of society. Your education, for example, if received in Canada, was largely paid for by the previous generation of taxpayers.
Provincial legislation specifies that the funds for schools are to be collected by municipalities. The public and separate school boards' determine the requisition revenues required to be paid by the Town, and the total levy is distributed among taxpayers through their property tax bills.