Pregunta de entrevista de NBCUniversal

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