A module of a program that forms a logical entity or performs a unit function; the part of an operating system that manages all basic operations.