Problems with Door switches and Headlight switch

Del, What I do understand is that turning the knob grounds the wire, but what is grounding the switch itself? The wire thru the door jam switch?

I guess Im really not understanding at all. Could you please break it down in simple terms for me. Sorry for being a pain in the rear!