By tilting the train combats the centripetal force which causes inertia e.g. when standing you losing balance as you come around a curve. So when the curve goes to the right, the train tilts right, making a more comfortable ride as well as allowing faster speeds.