Question: what is the relationship between friction and thermal energy?
Answer: When surfaces in contact move relative to each other, the friction between the two surfaces converts kinetic energy into thermal energy (that is, it converts work to heat).