The forest contains the Caquetá River's alluvial plains, their upland terraces, a sedimentary plain from the Tertiary and sandstone table mountains from the Paleozoic that rise to elevations of over 800 meters .