In single supply circuits it's necessary to use a capacitor to decouple the DC level of source signal.
The capacitor acts like a infinity impedance for the DC component.
The first switch allow to assess the behavior of the "Virtual Ground" (In this case a 2V DC source).
The second switch allow to assess the impact of the capacitor.