By adding cobalt- and carbon-based nanoparticles, the antibacterial properties of vinegar were enhanced, effectively killing harmful bacteria without harming the body.