DAI, as a stablecoin, uses cryptocurrency collateral which is locked in something called "Maker Protocol smart contracts" to maintain its peg to the US dollar.