J.P. Morgan interview question

Why are functional interfaces used? How does it help?