Also, the HAP sample derived in the presence of pectin showed an enhanced antibacterial activity than that of the HAP synthesized in the absence of pectin. Hence, the HAP nanoparticles synthesized using pectin as a green template can act as a good biomaterial for biomedical applications.