I was recently asked this question, and since I have little knowledge about it, I decided to study and write an article talking about the fundamental difference between them, which is Inversion of Control. I recommend it, I tried to be brief.
🔗 link: https://medium.com/@Victorldev/inversion-of-control-ioc-principle-a8b8a79e1e01