We all have heard that a capacitor block DC but passes AC. But what is the reason behind this behavior of a capacitor?