How do I add category groups and category group groups on my site? Just like Epic Forums

In fact, after I select the top element, the category list below will also be updated (i.e. the grouping of categories). Which plugin is this or how do I implement it?