Morgan Stanley Interview Question

How does equity security lending work?