the present invention relates to copolymers for applications in medicine and biotechnology and preparation thereof . copolymers comprises polyvalent n - acetyl glucosamine in polyvalent form and bind more efficiently to lysozyme than nag itself . the copolymers exhibit effective inhibition even at very low ligand concentrations . the copolymers could be used for prevention and treatment of bacterial and viral infections . moreover , these copolymers form are stimuli sensitive polymers and can be used for the recovery of biomolecules . the methodology can be extended to other ligands such as sialic acid and used for preventing influenza and / or rotavirus infections . it also provides a method for the synthesis of copolymers wherein polymers comprising sequences of specific ligands are required .