Food preparation methods can significantly alter the levels of toxins present in food. Cooking can reduce or eliminate certain pathogens and toxins, such as Salmonella or Escherichia coli. However, some methods, like frying, can increase the formation of harmful compounds, such as acrylamide in starchy foods.