Effects of energy on molecules