GO:0042742: defense response to bacterium
Reactions triggered in response to the presence of a bacterium that act to protect the cell or organism.