A bacterial infection is the proliferation of a harmful strain of bacteria either on or inside the body. Any part of the body can be affected by bacterial infection.