When used as a noun, toggle refers to any computer function or command that allows a feature to be turned on and off.
In image-processing programs, a toggle function allows a rapid alternating of "before" and "after" images, allowing the comparison of an image before and after a particular change was made to it.
When used as a verb, toggle means to use a toggle function.