They just have to reach a certain temperature (I don’t remember.) Once ANY food, has reached a certain temperature, it should kill all bacteria, and pathogens.
Think about why you get a “fever,” when sick. Most diseases cannot survive the higher temperature, and your body/ammune system, knows that. So. When you have a fever, it’s not because of the disease, it’s because your body is trying to cook the disease out. Then, once the disease is gone, the body will maintain homeostasis.
When a surgeon “scrubs in,” they use very hot water, and soap. The temperature of the water, helps depletion of any bacteria, or pathogen. Then. After that process, another person will fully gown the surgeon, whilst the surgeon keeps their hands, and forearms, from touching any other surface. All instruments, involved with the surgery, have been sterelized, and unwrapped, only by others with “sterile” gloves.
You might be curious about microbiology. There is plenty of written, and online material, about it…