The portion of an economy producing primary products, in contrast to the secondary sector and the tertiary sector.