logic behind SPENDING

All three.
Logical explanation for grocery shopping , you have to eat to live.
Prediction for specualative purposes, e.g stock market.
Validity for helping out some one, there should be a valid justification for that dole out.