A series of electromagnets on the Lego vehicle ride in that track ... This is used to push the train up to speed, as well as slow it down for braking.