Which punctuation is used in the name, “brother-in-law”?

Which punctuation is used in the name, “brother-in-law”?

Explanation

A hyphen (–) is used in compound nouns like “brother-in-law” to join the words clearly.

It differs from a dash, which is longer and used to separate ideas in a sentence.