When I render, it renders really far from the objects

Okay, so I’m trying to follow this tutorial series by Blender Guru where we have to model a donut, and I’m at this video which is about rendering:

From what I’ve gathered, Blender renders based on the camera view. But for some reason, when I try pressing “Render Image”, it ends up not rendering at the camera view at all, and instead renders really far away from the donut.

Here is my camera view:

And here is what actually renders:

Can someone please explain how to fix this?

change the camera location !

happy bl

turn off lock camera to view and scroll out to see your actual framing.
then turn it back on to position your camera

i tried that and it seems to have worked!!! thank you!!!