Here you can learn how a Vault works at the smart contracts level.
A Vault consists of a set of signatory addresses that have the permission to approve transactions for storing, and sending funds from the Vault treasury, and to execute any kind of code being able to call external smart contracts. Vaults provide enhanced security and allow for trustless escrow transactions. A Vault can serve as the baseline to manage an entire, more or less decentralized, application.