Atomic swaps are a type of cryptocurrency transaction that allows two users to exchange different types of cryptocurrencies without the need for a third-party intermediary. Atomic swaps are done using a smart contract, which is a computer program that executes a set of predetermined instructions when certain conditions are met. Atomic swaps are a secure and efficient way to exchange cryptocurrencies, allowing users to quickly and easily exchange different types of digital assets.