Resources represent a planet’s material value and industry. Many game effects, such as producing units, require players to spend resources. A player can spend a trade good as if it were one resource.
Specific card abilities may override the general rule.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.