Cardano uses a Verifiable Random Function (VRF) in its Ouroboros consensus protocol for leader election. The VRF provides a way to generate random values that are verifiably created by the intended party, ensuring that the process of selecting slot leaders for block production is both unpredictable and verifiable, contributing to the security and fairness of the consensus mechanism.