Transfer energy into the system. Watch the particles gain kinetic energy and vibrate, causing a temperature rise.
Thermal energy is physically just the kinetic energy of vibrating particles