The Hufflepuffs were on cleaning duty for the school, the grounds, and ensuring that nothing Dark was left to take root near the school. Hermione hadn't even known that Herbology was a natural remedy for extracting Dark energy.