In Ancient Greece, Empedocles proposed that all matter was made of earth, water, air and fire—the four elements. Modern chemistry has changed the way we classify those elements today, and it has also given us advanced techniques to analyze said elements.
If you swap food for fire, there’s one technique that can handle all four elements—gas chromatography mass spectrometry (GC/MS).