The functional group responsible for the ion-exchange property of cation is −SO3H and that of anion is −NH2. Cation resins attract positively charged ions and contain acidic group like −SO3H or −COOH groups. While anion resins attract negatively charged ions and contains basic groups like −NH2.