Bacteria can enter the bloodstream as a severe complication of infections (like pneumonia or meningitis), during surgery (especially when involving mucous membranes such as the gastrointestinal tract), or due to catheters and other foreign bodies entering the arteries or veins (including during intravenous drug abuse).