Invert Colors does a twofold adjustment. It takes all the colors in the image and replaces them with their exact opposite on the color spectrum. Secondly, it will take the dark and light pixels and turn them to their opposite brightness. This will give your photo a negative photo or X-ray look.
Consider the following image:
After applying Invert Colors, the image would look like this:
52.14.134.113