What is the primary function of antibiotics in medicine?
A) To boost the immune system
B) To treat bacterial infections
C) To reduce inflammation
D) To relieve pain