When two atoms of different elements come in contact, heat is given off and light is produced. Which of the following does this support?

AThe law of definite proportions
BThe law of conservation of energy
CDalton's atomic theory
DThe law of conservation of matter