Not sure exactly what you're asking. How do switches work? How do they connect? Since I don't know what track you have, I'll be general. There are essentially two type of turnouts, selective and non-selective. Selective routes power only to the track path that you have chosen. This can be great for sidings and not require a power on-off electrical switch for that siding.
The other type powers both legs of the turnout at all times. Atlas is the most common brand of this type. If you want to shut off the power to a siding using this type of turnout, you will need an on-off electrical switch. Both types require insulated rail joiners to work effectively.
Then there are manual turnouts where you 'throw the switch' and powered turnouts that use 'switch machines' to throw the turnout. There are twin coil machines that go clunk when you press a button and slo-motion machines that remain powered all of the time to hold the points against the fixed rail.
I would suggest that as a new modeler, you might get some useful information from the NMRA 'Introduction to Model Railroading' pages at:
http://www.nmra.org/beginner/