There are many kinds of electronic components, but resistors and capacitors may be considered the most important and basic electronic components. Resistors provide resistance to enable the smooth flow of electricity. What do capacitors have to do with electricity?
They generate electricity.
They make electricity flow more easily.
They store electricity.