Marble and granite are both harder versions of limestone.
Granite is the adult stage – marble is the pupae – and limestone is the larval stage – if you want to think of it that way.
Granite is much older, much denser and thus much more resistant to foot traffic – thus it does not need finish and won’t stain. Makes a great floor – expensive tho.
Marble is hard – but will eventually wear down – and certain types of soil will penetrate and stain it.
Limestone is much softer – don’t see much of it in floors – mostly in walls.
Marble can be restored by grinding with a diamond grit polishing pad (diamonds are a 10 on the Moh’s scale) under high pressure when it does wear down – but it’s an expensive process.