Cooking food breaks down fibers and cell walls, making it easier for the body to digest and absorb nutrients. It also kills any bacteria and parasites that could be transferred and cause harm to a human. There are also some foods like certain mushrooms and taro root that need to be cooked to break down poisonous compounds.