Photos library
I am trying to understand how the Photos library on my Mac and the iCloud Photos Library stay in sync. I recently uploaded my Mac Photos Library to iCloud thinking I could use that as the main Photos Library on my Mac. Apparently that is not the case as you cannot use the Mac Photos app to edit pictures in iCloud. So it appears I still need to have a main library on my Mac and use iCloud just to share, email, etc. from other devices. How do I keep the libraries in sync. For example if I take a picture on my phone will it automatically sync to my main library on my Mac so that I can have all originals on the Mac? How would I view all photos in iCloud Library on my iPhone?
Thanks
MacBook Air (13-inch Mid 2013)