Electric generators convert mechanical energy into electrical energy through electromagnetic induction, providing a crucial power source for various applications. They are essential in both small-scale operations, like portable generators, and large-scale power generation in power plants, ensuring energy availability during outages or in remote locations.