Forums are almost irreplaceable. You can’t replace a product support forum or a sports team fan forum with something tangential but completely different like a discord, Facebook page or similar.
Discourse is so great these days that it should be the default choice for anyone needing a forum, and luckily it seems it is too.