The ORDER BY statement in SQL is used to sort the fetched data in either ascending or descending according to one or more columns.