The Crop tool allows you to select an area of a photo and remove or crop everything outside the selected area.
Photoshop Crop Tool
  1. Select the Crop tool (C)

  2. Use the Options bar to customize tool settings, like setting the aspect ratio or width and height values, to get the effect you want.

  3. Click inside the crop border and drag to reposition the image.

  4. Drag the corner or edge handles of the crop border that appears on your photo to specify the crop boundaries.

  5. Press Enter (Windows) or Return (macOS) to crop the photo.