How does yoga improve flexibility?

Okay, here’s the expanded question:: How does yoga improve flexibility, specifically addressing the physiological mechanisms at play? I’m interested in understanding not just the general idea of stretching muscles, but also the detailed processes happening within the muscles, connective tissues…