Compound is a decentralized finance (DeFi) protocol that allows users to earn interest on their cryptocurrencies. It aims to create a liquid money market for cryptocurrencies by setting interest rates on loans using an algorithm based on market dynamics in real-time.