A sector is a part of a whole. As a well the specific usages below, it can also be used metaphorically, referring to a generic piece or portion of something.
In the context of computerhardware, a sector is a sub-division of a track of a magnetic hard disk or optical disc. A sector stores a fixed amount of data. The typical formatting of sectors allows holding 512 bytes (e.g. harddisks and diskettes) or 2048 bytes (e.g. optical discs) of data. (See also hard disk drive partitioning, FAT.)