Alcohol is effective at killing different types of microbes, including both viruses and bacteria, because it unfolds and inactivates their proteins.
This process, which is called denaturation, will cripple and often kill the microbe because its proteins will unfold and stick together. Heat can also denature some proteins — for example, when you cook an egg, the solidified egg whites are denatured proteins.”