We rub our hands to keep ourselves warm. Rubbing two hands against each other produces heat.
An energy change occurs when you rub your hands. The food we eat has chemical energy that is converted to kinetic energy when our hands are rubbed. The kinetic energy changes into heat energy upon further rubbing.