The heat generated by decomposition kills off weed seeds that the cow may have eaten. Heat also kills off some parasites and some potentially dangerous types of bacteria, such as Listeria, Salmonella or E.coli.