Photoshop

Delete selected pixels

  Choose Edit > Clear, or press Backspace (Windows) or Delete (Mac OS). To cut a selection to the clipboard, choose Edit > Cut.

Deleting a selection on a background or on a layer with the Lock Transparency option selected in the Layers palette replaces the original location with the background color. Deleting a selection on a layer without Lock Transparency selected replaces the original area with the layer transparency.