What happens when thermal energy is applied to a substance?

a. its atoms gain potential energy.
b. its atoms gain kinetic energy
c. All substances will melt.
d. its particles slow down.

b. its atoms gain kinetic energy