The delete key is used to erase text or items. Depending on the application, it removes text to the left or right of the cursor.