Morgan Stanley interview question

How does equity security lending work?