Stake pools in Cardano play a crucial role in the proof-of-stake consensus mechanism by allowing ADA holders to delegate their stake to a pool operator, who then participates in block production and validation on behalf of the delegators, earning rewards for themselves and their delegators based on their combined stake and performance.