I guess you are inquiring about active suspension system. It usually is an adaptive suspension which changes the damping of suspension based on road conditions. The suspension is usually filled with magnetorheological fluid. It is a special fluid whose viscosity is affected by magnetic field. So when the fluid's viscosity is changed its damping also changes.