Answer :
When we hit the nail, the particulate objects are set into kinetic energy and they begin to move. However, due to the rigid structure, the particulate objects cannot move from their equilibrium position, and therefore, it is dissipated through heat.