What is inside an ICD?

An ICD contains a battery, capacitor (the component that stores and delivers charges) and electronics that control ICD operation.