A brain abscess is usually caused by infection with either bacteria or fungi. If the immune system is unable to kill an infection, it will try to limit its spread by using healthy tissue to form an abscess, to stop the pus infecting other tissue