An inelastic collision is a collision where the kinetic energy is not conserved, while the momentum is conserved, This means that the total momentum before the collision is equal to the total momentum after the collision.
An elastic collision, instead, is a collision where both momentum and kinetic energy are conserved.