When you merge a project into another one, all the work hours that were assigned to the first project are transferred to the second project, and the first one is deleted.
Note: The contracted hours from the first project will be lost, if you wish to add them up, you will need to do it manually.