Rails is a self-custodial crypto exchange that utilizes a centralized order book for optimal trade execution. It combines this centralized approach with a self-hosted decentralized solution on the blockchain to ensure transparent custody of funds.