Grid Dynamics interview question

What is the difference between ROW_NUMBER, RANK, and DENSE_RANK?