Glands are primarily involved in secretion. The kidney's main function is filtration and excretion, distinguishing it from the other listed organs which have significant secretory roles.