The Purpose of Foam Rolling?

Heard that it can enhance your lifting…how so?