Sectors are partitions of the economy that contain similar business activities. They might produce similar goods or services such as mining or farming.
In macroeconomics, we often partition the economy into the private sector and public sector. The private sector is the part of the economy that consists of households and businesses. The government and anything that’s associated with the government constitutes the public sector.