We learned about this this year in biology. I was pretty surprised when I learned it. I think there’s even bacteria mating in it. Don’t take my word for that, though.Yeast is still alive right before it gets baked into bread.
(I am not a baker, I'm scared of the oven.)