Checking food nutrients
Practically, you can't. You should clean produce appropriately to remove surface pesticides, and cook food thoroughly to prevent illness from food-borne pathogens.

Checking for levels of pesticides or presence of pathogens would have to occur in a lab, involving microscopes, chemistry techniques, and bacterial cultures. This is impractical to do in the home, plus it would likely destroy the food you were testing.