UST Interview Question

what is window function in spark-sql ?