Writing the same prefix five times in a stylesheet is tedious and easy to get wrong.
.post :is(h2, h3, h4) { margin-block-start: 2rem; }
:is(ul, ol) :is(ul, ol) { margin-block: 0; }
:is() expands to the full list of selectors, so the first rule replaces three separate ones. If one entry in the list is an ID, the whole :is() gets the specificity of that ID, because the most specific argument decides. The list is also forgiving: an invalid entry is skipped instead of breaking the whole rule, which is not true for a normal comma list. Use :where() when you want zero specificity instead.
Further reading: MDN: :is()