What did people believe that things were made out of before cells were discovered?

They used to think everything was made of a combination of the four elements; fire, earth, water, and air. Disease was believed to be caused by your elements getting out of wack.