Paramount Interview Question

Expalin partitions, ranking in SQL?