The unit is the mechanism for modularization of a Pascal program; it is written and compiled separately from the main program.