@itsfoss Have you never ran `yay -Qtd` and removed unnecessary packages?
Electron has a version in the package name for people who need several versions side by side. This means if an app requires electron32, it gets installed as a dependency. Later, if the app switches to requiring electron33, then this version is installed as a dependency. But the version 32 stays installed until you remove it. Use `pacman -Qtd` to find dependencies no package needs anymore.
@itsfoss And sometimes packages get moved from main repos to AUR if nothing from main repos needs them. If you only needed it as a dependency for something else, ideally you would have removed it already before it gets moved to AUR.