"gallery" is an app, not a location.
Your pictures on your phone could be located anywhere, depending on how they got on your phone.
Your camera will store its images at "/DCIM/camera", or a similar location.
Social media apps may download photos into the "/download" folder or a folder under the app's name.
I personally have a "/pictures" folder on my SD card for all the pictures from my DSLR copied from my computer.
Using your favorite picture viewing app, view some of you pictures and use the info button to see where the picture is stored.