While the foundation of the pier and beam rests on the stone deep under your house, the concrete slab rests directly on the floor.
For this reason, slabs foundations are ideal for houses built on flat plots.
Slabs foundations can also be made very easily and are cheaper than pier and beam foundations.