Hornworts (and liverworts) are old names that date to a thesis called "Doctrine of Signatures". In which it was supposed that certain herbs that resembled human organs could be used for treating problems of that organ.
Not a concept with wide support in modern times.