A roller coaster was an elevated railway with small passenger cars that operated at high speeds as a ride, especially in an amusement park.
Roller coasters were still popular in the 24th century. (TNG: "Interface"; VOY: "The Thaw")
In 2370, Geordi La Forge compared the excitement of using the interface suit to being on a roller coaster. (TNG: "Interface")
In 2372, Captain Kathryn Janeway reflected on why children still rode roller coasters after several centuries. The Doctor suggested it was because fear produced pleasure. (VOY: "The Thaw")