LTM Limited Interview Question

Explain rank() and dense_rank() in sql