Feeding arduino with AC?
The capacitor is there to "AC-couple" the input. This removes any DC component from it, allowing only the AC in the waveform to pass through.

This circuit isn't feeding the 5V supply, it's drawing from it. The voltage divider biases the input at 2.5V, and the AC-coupled signal causes it to vary from that voltage in either direction.