A small code which mimics a specific component in the system and can replace it. Its output is the same as the component it replaces.