Decentralised Exchanges or DEX perform the same function as their centralised counterparts. However, with DEX, users only interact with self-enforcing smart contracts to carry out secure and non-custodial transactions without the need of centralised third parties.