The trash gives you a quick overview about all the files and folders you deleted in the last 7 days. You can restore any file or folder by hovering over the item and select the blue restore icon at the end.
In the restore dialogue select the target folder for the restoration.
You can also see the planned date when the files will be hard deleted.