Is there any differences or it's just same thing?
Plugins and extensions are technically the same.
However, if you want to take them more literal: plugins are to "plug in". No need to change anything to the core itself. Extensions on the other hand require changes to the core.
You can do anything