Hey there!
We know that a chemical reaction has occurred because one or more new products are formed.
In a chemical reaction, bonds are broken and atoms are rearranged to make new substances.
In this case, methane and oxygen react with each other to produce carbon dioxide (CO₂) and water (H₂O).
Hope this helps!