AKR1B1 and diabetes mellitus: This study highlights the potential of flavonoids as aldose reductase inhibitors, offering insights into their binding interactions and stability, which could contribute to developing novel therapeutics for DM complications.