It is used to detect how much ore/gas a player has.
If you wanted a thing to cost a player 100 minerals, you would do something like this:
QUOTE
Current Player accumulates At Least 100 Ore.
----------
Create 1 Thing at LocationX for Current Player.
Modify resources for Current Player: Subtract 100 Ore.