They were responsible for the worship of their God and for the service of purification, along with the singers and gatekeepers, following the instructions of David and his son Solomon.