Private keys are digital signatures that secure cryptocurrency accounts. In DEXs, users are responsible for keeping their private keys secure, as they provide control over their funds and accounts.