This command enables and disables (toggles) the sky and sky-related graphics settings like fog. Usually results in an FPS boost.
If the sky and fog are enabled, executing this command will hide them. If the sky and fog are disabled, this command will make them visible again.
ToggleSky is simply a longer version (alias) of the TS command - it has the exact same function.