TWAIN can be understood as the API or application program interface's standard. The interface is between those apps that help in controlling the devices for image input and the device responsible for image input. A scanner is a common example of a device for image input.