How can you tell which chemical elements are present in a burning substance?