What is “source of funds” documentation?

What is “source of funds” documentation?

Lenders require documentation that proves where your deposit and funds for associated costs originated (e.g., consistent savings from salary, inheritance, gift, sale of assets) to comply with anti-money laundering regulations.