Q:

Difference between electronic component and passive component

I am confused about the difference between a passive component like resistor and an electronic device like diode. I know about their functionality. But my question is why resistor is not called an electronic device? Because as far as i know, resistors deal with electrons so do diodes.

A:

Actually your classification is not common. In the webshops that sell components the transistors and the resistors bot are electronic components to keep them separate from parts for other areas, for ex. nuts and bolts or glues and paints.
The separation between active and passive electronic components is widely used due their very different nature. Transistors and ICs are active due their ability to make one signal to control another without moving parts.
But the question: The electronics is a subfield in the general electric theory and practice. The resistors have applications in most of the subfields of that. Even some very old AC motors urgently needed resistors for proper starting.  But diodes are mostly used in the area that is called "the electronics". That area is based on components that have a design based on electron physics. Diode is one of them.
Resistors can as well be called electric or electronic parts because they are massively needed in the electronics as well as in other areas of electrics.

