What is tds and how does it work?

What is tds ?It stands for ‘Tax subtracted at Source’ and was introduced to gather tax at supply from wherever the individual’s financial gain was generated. it'sa sort of advance tax and is employed as a tool by the govtto gather the tax and minimize nonpayment.