Row_Number is used to generate the number of each row dynamically in a sequential order based on some column orders.