Hand sanitizers, particularly those containing at least 60% alcohol, work by denaturing proteins and disrupting the cell membrane of microorganisms, effectively killing bacteria and viruses. They are a convenient option when soap and water are not readily available, but they do not remove dirt and debris.