Electronics is the study of how to control the flow of electrons. It deals with circuits made up of components that control the flow of electricity. Electronics is a part of physics and electrical engineering. Electrical components like transistors and relays can act as switches.