Sentence: The nail gun drives the nail using a single rapid stroke so that heat is generated by friction between the nail and the wood.
Entities:
entity1: nail
entity2: gun
Relation: Instrument-Agency