Photos associated with the original places are brought together under the place you keep. Merging duplicate places does not delete your photos.
This is useful when you have saved the same location more than once and its photos are spread across separate entries. If only a photo is attached to the wrong location, move the photo rather than merging different places.
A place merge cannot be undone. Before you confirm, check that the entries represent the same place. The guide to merging places covers the merge steps and how Tags and visit history change.