Why do different metals burn with different colors?

GCSE