The study and treatment of various infectious diseases and conditions caused by microorganisms such as bacteria and viruses.