Open the image in a photo editor
Select the background with a selection tool
Refine the selection edges if needed
Remove or mask the background
Add a new background layer or image
Position the subject over the new background
Adjust lighting, color, and shadows to match
Save the edited image in the desired format
