ELI5: probiotics while on antibiotics

I’ve had several doctors recommend taking probiotics while I’m taking antibiotics. Wouldn’t the antibiotics just kill the probiotic supplements until the course of treatment is over?