How do I add/edit the date taken and location data for old digital photos on macOS or iOS?

I

iMore Question

I recently imported all my old digital photos into Photos.app on my Mac (latest macOS installed). Most of them don't have the Date Taken or Location in the exif data. I am looking for a solution to add this data so that any app (Photos, dropbox, Flickr, etc.) can read it.
I tried editing the information within Photos.app but it does not apply outside Photos.app.
Does anyone know of a solution to fix this?
Thanks in advance