What does the liquorice root have to do with liquorice?

Why does the liquorice root actually have this name?

But how does the liquorice root become liquorice?