(three states of matter)

What happened to the particles when thermal energy was added? What do you think would happen to the particles if thermal energy were removed?