Electric eels produce electricity using specialized cells called electrocytes. These cells are stacked in series and parallel within the eel's electric organs, functioning similarly to batteries. When the eel wants to generate electricity, it sends a signal from its nervous system to open ion channels in the electrocytes, allowing a rapid influx of sodium ions. This creates a voltage difference, resulting in an electric discharge. This natural bioelectric phenomenon has inspired researchers to explore new methods of energy generation and storage.