The primary sector of an economy involves the extraction and production of raw materials directly from the earth.