Plains (flat areas on the planet) can occur in the depth of the ocean (abyssal plains), in which case they are bounded by mid oceanic ridges and continental slopes or on land (eg the US prairie) in which case the are bounded by mountain foothills, escarpments or shorelines.