It's used small amounts in additive in soap or shampoo mostly as a scent, mouth pastille and lozenge a for taste, animal health care kind antibacterial and bug resistant etc. long time ago.
Quite lot of applications especially old times long time ago before more scientifically developed medicines were commonly available. These days less there but it's used as a scent or for flavour.