Sometimes, something unexpected happens, and you end up breaking a device, making it no longer boot.
This is what we call "Bricking", and we call it that because at that point your device is a fancy colorful brick
Though, sometimes there's ways to rescue your device and bring it back from the dead, so that will be detailled here
So first, what is a "Soft Brick"?
A Soft Brick is when you break the device on a software level, like for example flashing a wrong ROM from another device, but critical components like the Bootloader still works
You can usually save yourself like this:
A "Hard Brick", unlike a Soft Brick, is when your device is missing critical system components, like the Bootloader, or on MTK devices the Preloader.
Usually, there's no ways to recover from this, I would check the XDA Forums for your device.