If you want a transparent background, select the Screenshot Transparent Background toggle in the toolbar.

Press F11 to take a full-screen screenshot including the UI

Press F12 to take a full-screen screenshot without the UI.