Everything you see in the preview will be part of the final render. If the render output dimensions are taller or wider than the preview aspect ratio, additional parts of the whole scene are rendered to fill the extra dimension. There are occasional exceptions to that if extremely short, fish-eye type focal lengths are used, i.e. 13mm or smaller. Jagged borders of background appear round the edges of the render, almost as though the camera is trying to look behind the focal plane and the rendering engine gives up.
My ShareCG Stuff
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.