what is this unused brown wire in my thermostat wiring?
It's likely not connected to anything. If you go to the furnace, you'll likely see the cable that goes to the thermostat. You'll also likely see the brown wire either wrapped around the cable, or just not connected to anything.