You have upgraded your Mac from old version to Mac OS Catalina 10.15.2 , in the previous version iPhotos were used , but once upgraded the photo library is also upgraded see the article https://support.apple.com/en-in/guide/mac-help/mchle1529919/mac
Photos can’t be transferred directly from iCloud to an external hard drive for that you need to set up iCloud photo library see the article https://support.apple.com/en-in/HT204264
And its preferences https://support.apple.com/en-in/guide/photos/pht5156cc968/4.0/mac/10.14 , open finder > Go > home > your user name > pictures either drag and drop Photos Library.photoslibrary to an external hard drive , the second method is right click on Photos Library.photoslibrary and click on show package contents in the upcoming column , you can also drag and drop complete Original folder to an external hard drive that is connected .
Also as per the article https://support.apple.com/en-in/guide/photos/pht6d60d10f/mac
Note : you must not drag and drop separate subfolders from originals folder to the external hard drive it can corrupt your photo library .
Second method is https://support.apple.com/en-in/guide/photos/pht40b0be510/3.0/mac/10.13
And export them https://support.apple.com/en-in/guide/photos/pht6e157c5f/mac
to a desired location say download folder in finder and connect an external hard drive to the Mac , then transfer the photos from download folders into the external hard drive , hence all your desired photo data is saved .