What could this red switch be for possibly
turned out to be a switch controlling attic fan, but only when thermostat in the attic actually starts it. The pilot light is actually broken so it was impossible to correlate, but with the help here I was able to finally figure it out... now on to the next thing! :)

Again thanks for very helpful guidance, I definitely learned some things along the way.