The spaces between particles within geological material (rock or sediment) occupied by water and/or air.