Which of the following best defines volume?

The amout of matter in a substance.

The shape of a sample of matter.

The amount of space that a sample of matter takes up.

The way that a substances atoms are arranged.