What is happening to a substance undergoing thermal expansion?

What is happening to a substance undergoing thermal expansion?