When they are infected with a deadly fungal disease, ants…

When they are infected with a deadly fungal disease, ants medicate themselves by consuming food laced with hydrogen peroxide, which would normally kill them but helps keep them alive if they have the infection.