Saving photos on to phone from camera setting

Hi apologies if this has been covered a thousand times and this is really, really basic (i have searched but I am also very new to this).

But can some explain how I can get photos taken from the camera screen on to the actually phone?

Currently I have a button that opens the camera and allows the photo to be taken but it doesn’t save anywhere.

Preferable I’d like it to save to a gallery within the app but i also do not know how to do this.

If anyway can help that would be great and once again sorry if this has been discussed many times previously.

Many thanks

N

Or another way.

How do i save a photo taken using the camera facility in an app to store on a seperate page in the app in a gallery?

Any help very much appreciated for this newbie.

Thanks

Nick