The carbolic acid sprayer, invented by Lister, was used to kill germs during surgeries and reduce the risk of infection.