It is always recommended to use Cloud Services to back up your photos, videos, and other important files. While Google Photos syncs with the phone's gallery automatically, you can also use Google Drive to upload and keep them as a backup. There are other Cloud backup options you can explore as well.