Two carts meet on a track. For a few milliseconds each pushes on the other with a force that can reach hundreds of newtons, then they separate or move off together. You cannot easily measure that force, and you do not need to. By Newton's third law the two pushes are equal and opposite and last the same time, so their impulses cancel, and the total momentum of the pair is unchanged.
Collisions sort into three kinds by what happens to kinetic energy. Elastic: the total kinetic energy afterward equals the total before, as with billiard balls, nearly. Inelastic: some becomes heat, sound and deformation, as in most real crashes. Perfectly inelastic: the objects stick and move together, losing as much kinetic energy as momentum conservation allows. Momentum is conserved in all three, and the wording of the problem, such as "bounces with no energy lost" or "they stick", tells you which extra fact you get.
Contrast a car braking to a stop. That is not a collision: the road's friction acts for seconds, so the car's momentum is not conserved. Even in a crash, conservation holds only across the brief impact. During a 0.10 s crash, 5000 N of road friction delivers an outside impulse of 5000×0.10=500 N·s, small next to the 30000 kg·m/s that a 1500 kg car carries at 20 m/s. The skid afterward, lasting seconds, is a friction problem.
Think of it like this. A collision is a handshake lasting a blink: each object grips the other with the same force for the same instant, so whatever momentum one loses, the other gains. The handshake can be springy, handing back all the kinetic energy, or squashy, keeping some of it as heat and dents.
Core idea. During a brief impact the objects' forces on each other are so large and so short-lived that outside forces barely matter, so total momentum is conserved across the collision; what happens to kinetic energy decides whether it is elastic or inelastic.