The four substances earth, water, air and fire were elements in ancient and medieval philosophy.