Place the palm of your hands together and slowly rub them. You will not notice much of a temperature change. As you move your hands back-and-forth against each other at a more rapid pace you will notice the more friction you place on your hands the more the temperature increases. It’s also like Starting a fire with sticks using friction.