Complex sentence: Cooking also increases the digestibility of some foods such as grains or lactose because most foods, when raw, are inedible, and some are poisonous.
Split into simpler sentences: Cooking also increases the digestibility of some foods such as grains. Many foods, when raw, are inedible, and some are poisonous.