Which of the following is a way to produce heat?