There are two ways of editing: destructive and non-destructive. Destructive one is when you delete a part of image and can’t bring it back. Non-destructive way is when you use masking. This way you don’t damage the photo.
Here are the edited photos of cityscape:
Photo edited using destructive technique
Photo edited using non-destructive technique