Work is done only when there is a displacement of the object on which a force is applied in the direction of the force.
Typical examples of inelastic collision are between cars, airlines, trains, etc.
For instance, when two trains collide, the kinetic energy of each train is transformed into heat, which explains why, most of the times, there is a fire after a collision. However, the momentum of the two trains that are involved in the collision remains unaffected. So, the trains collide with all their speed, maintaining their momentum, yet their kinetic energy is transformed into heat energy.
Another way to explain a train or a car collision is this: when the two trains or cars collide, they stick together while slowing down. They slow down because their kinetic energy is gradually lost. Still, they collide because they conserve their momentum.