NBCUniversal Interview Question

What is and how do you use a window function in SQL?