Hence its maintaining function.
Just a quick overview.
Community training in lithic production in epipaleolithic → stone tools to carve up a deer to share with band;
metallurgical apprenticeship in guild setting → weapons, armors and farming tools to be sold to warriors/craftsmen/peasants;
purchase of engineer training to erect buildings → designs to be exchanged for wage payment to owner class.