In most roller coasters, the hills decrease in height as the train moves along the track. This is necessary because the total energy reservoir built up in the lift hill is gradually lost to friction between the train and the track, as well as between the train and the air.