Which subatomic particle is affected when heat or electrical energy is absorbed by the atom