What happens when a capacitor is connected across an AC source?
a. The capacitor blocks the AC signal and allows only DC to pass through
b. The capacitor charges and discharges in response to the alternating voltage, causing it to create a phase shift between the voltage and current
c. The capacitor creates a direct short circuit across the AC source
d. The capacitor stores energy and releases it as a constant voltage output