This is a hypothetical question. Suppose you were to run a piece of sandpaper over a piece of wood repeatedly and quickly, thus heating the surface of the wood. The wood would then transfer that heat to the local molecules in the air, right? Could that energy which is transferred to the molecules somehow be harnessed? Couldn't this be a way to overcome the second law of thermodynamics?