I found an interesting link that describes the differences between FPGAs and microcontrollers. Both are used by engineers to be programmed to perform certain functions.
https://www.ourpcb.com/fpga-vs-microcontroller.html