Fact 1: gravity causes objects that have mass to be pulled down on a planet. 
Fact 2: And roller coasters work with gravity.
Roller coaster work the same as any object having mass being pulled down on a planet.