Why does my light switch have 2 wires on the top?
Usually this is because one wire is supplying the power and the other wire is tied into  it in order to take the power on to be used elsewhere. 

Another way this is accomplished is that the two wires, plus a third "a pig tail" are all tied together with a wire nut and the pig tail goes to the switch.