Choose File > Show Referenced File in Finder.
You can copy referenced files into your photo library so they’re easier to back up and are automatically stored in iCloud if iCloud Photos is turned on.
In the Photos app Repair your library in Photos on Mac