This is a doubt that even native English speakers have!
Electric and electrical are essentially the same - they refer to any device that uses electricity. Flashlights are electric; we also have electric lights and electric heaters, and nowadays even electric cars. Something that is electric just uses electricity for energy.
Something that is electronic is a more complex system - it manipulates the electrical energy in ways that allow for more advanced functions, such as
transmitting information. Computers are electronic, and we also use electronic for digital versions of things in the physical world, like electronic stores/books.
Another swiftly spreading virus, it hit 75,000 computers in the first 10 minutes of its inception, taking down and severely damaging numerous American Banks, Security systems and organizations, and Airline networks. And the virus wasnt just privy to the US; it ruthlessly damaged the internet capacity of South Korea for at least half a day. The damage was estimated around at least a billion dollars.