Cookie and brownie dough traditionally contain flour and eggs, two raw materials that can contain microbial pathogens such as Salmonella and E. coli. These pathogens have led to cases of foodborne illness when that product was eaten raw. But by using pretreated eggs and flour, the product is designed to be safe when eaten raw, that is, before cooking by the consumer.
One of the difficulties has been creating a product where the pretreatment does not affect the functionality of the ingredients so that the product comes out the same as it did with the untreated ingredients.
General Mills
https://www.generalmills.com/en/News/NewsReleases/Library/2020/July/Pillsbury-brings-childhood-dreams-to-life
News Releases
Jul 27, 2020
Pillsbury brings childhood dreams to life: Cookie and brownie dough now ‘safe to eat raw’