it works as a tool to diagnose bacterial illnesses