A device that has a specified function, especially one forming part of a complex mechanism.