Question: what is the main difference between source and sink?
Answer: Sinking and Sourcing are terms used to define the control of direct current flow in a load. A sinking digital I/O (input/output) provides a grounded connection to the load, whereas a sourcing digital I/O provides a voltage source to the load.