The key mechanism behind EDLC involves the formation of a Helmholtz layer and a diffuse layer. The Helmholtz layer is a tightly bound layer of ions directly adjacent to the electrode surface, while the diffuse layer consists of ions spread out in the bulk electrolyte. Together, these layers form the electrical double layer that is crucial for capacitance.