Environmental and resource economics

Why is energy treated as an economic resource?