Electrical means of or relating to electricity, and it’s used for things that generate or process electricity—for example, electrical generators and electrical outlets. It’s also simply a broad term for anything that uses electricity.
Devices that run on electricity are electric—for example, electric lights, electric heaters, electric cars.
Electronic describes devices that manipulate electrical current internally through switches. It’s also used for virtual forms of things that were traditionally in the physical world, such as electronic stores and electronic books.