An economy is a system that takes energy and raw materials as inputs, involves internal work processes that create and maintain physical structures, and expels degraded materials while losing waste heat to the environmental energy sinks surrounding it.