A capacitor is a passive electrical device that can store electrical energy for a shorter period of time. You can consider the capacitor as a small battery, but unlike typical batteries, it can’t produce electricity. It can only hold some charged...