Synthesis and characterization of magnetic poly(acrylic acid) hydrogel fabricated with cobalt nanoparticles for adsorption and catalytic applications