elektrisch
electric
Relates to electricity; powered, generated, or connected by electricity.
Ich habe mir eine elektrische Zahnbürste gekauft.
I bought myself an electric toothbrush.

electric
Loading your saved state.
electric
Relates to electricity; powered, generated, or connected by electricity.
Ich habe mir eine elektrische Zahnbürste gekauft.
I bought myself an electric toothbrush.

The adjective 'elektrisch' (electric) is derived from the noun 'die Elektrizität' (electricity). The ending '-isch' is often used to form adjectives that describe belonging or a quality.
Die Erfindung der elektrischen Glühbirne hat die Welt verändert.
The invention of the electric light bulb changed the world.
In its literal meaning, 'elektrisch' (electric) is often combined with technical terms. Common collocations are 'elektrischer Strom' (electric current), 'ein elektrisches Gerät' (an electric device/appliance), or 'elektrische Energie' (electric energy).
Moderne Autos haben viele elektrische Bauteile.
Modern cars have many electric components.
You can recognize the figurative meaning from the context. When 'elektrisch' (electric) is used with abstract nouns such as 'Stimmung' (mood/atmosphere), 'Atmosphäre' (atmosphere), or 'Spannung' (tension), it describes a high level of emotional tension.
Vor der Bekanntgabe der Ergebnisse herrschte eine elektrische Spannung im Raum.
Before the results were announced, there was an electric tension in the room.
electronic
'elektrisch' and 'elektronisch' both have to do with electricity and technology. Use 'elektrisch' when something is powered by electricity or needs electricity, for example a motor or a heater. 'elektronisch' fits better when a device works with electronic components or when something happens digitally, for example an email or an electronic form. The words are easy to confuse because many modern devices are both: they need electricity and contain electronics. As a simple guide: 'elektrisch' emphasizes the energy, while 'elektronisch' emphasizes control, processing, or digital form.

Wir haben in der Küche einen elektrischen Wasserkocher.
We have an electric kettle in the kitchen.
Die Anmeldung für den Kurs erfolgt elektronisch über ein Formular.
Registration for the course is done electronically through a form.