"Submarine swaps" allow for trustless exchange between the Lightning Network and on-chain Bitcoin by enabling users to atomically swap off-chain Lightning Network funds for on-chain Bitcoin without the need for a trusted third party. This is accomplished by creating a smart contract that ensures both parties fulfill their end of the exchange simultaneously, maintaining security and eliminating the need for trust in the transaction process.