UST interview question

what is window function in spark-sql ?