How to take pictures off my iphone but still have easy access to them?

I have over 20 GB of photos and videos that i've taken saved to my phone… I would like to delete them off my phone but still be able to access them anywhere easily. And am wondering if this is possible * little confused about how icloud works, can i delete the pics off my phone and still stream them or do i have to download them back on to view

You can use iCloud to update and store your photos. You can then delete them. Just think of iCloud as your own personal online storage. It can handle your photo collection.