I conducted a Google search to find techniques for removing an object from a photo in Photoshop. The article I referenced was published in 2019, which may make some of its information slightly outdated.
However, here is how to remove an object from a photo in Photoshop, using both the information found in the article, and what I already knew.
To remove an object from a photo in Photoshop, you can use several tools depending on the complexity of the image, but a simple and effective method is to use Content-Aware Fill. Start by selecting the object using the Lasso Tool or any other selection tool like the Marquee or Quick Selection Tool. Once the object is selected, go to Edit > Fill, and in the dialog box, choose Content-Aware from the dropdown menu. When you press OK, Photoshop will analyze the surrounding pixels and automatically fill in the selected area, blending it with the background to remove the object. After that, you can press Ctrl+D (or Command+D on Mac) to deselect the selection.
If the result isn’t perfect, you can clean it up using the Clone Stamp Tool or Healing Brush Tool. The Clone Stamp Tool allows you to manually paint over the removed object by sampling nearby areas and blending them in. You can select a source area by holding Alt (or Option on Mac) and clicking, then paint over the remaining traces of the object. Similarly, the Healing Brush Tool blends the sampled area into the background more smoothly, making it ideal for removing minor imperfections or blemishes.
Another useful tool for object removal is the Patch Tool. With the Patch Tool, you can draw a selection around the object, then drag the selection to a clean area of the image. Photoshop will use that clean area to replace the object while blending the textures naturally.
Once the object is removed, zoom in to ensure that the fill is seamless and there are no leftover edges or artifacts. You can further refine the area using the Blur Tool or adjustment layers to blend shadows and lighting.
Source:
How to Remove Unwanted Objects Using Photoshop