An economy is a collection of interconnected production and consumption processes that ultimately decide how resources are distributed within a community.