Deposit insurance is a system implemented by governments to protect bank depositors from the loss of their deposits if a bank fails. It provides a safety net for individuals and businesses that hold accounts with banks, ensuring that their money is secure even in the event of a bank's collapse.