The whole herb, harvested when in flower, is aromatic, carminative and emollient. It was at one time widely esteemed as a medicinal herb, though it has fallen from favour in recent times. The dried leaves contain coumarin, this can be used as an anticlotting agent for the blood. The dried flowering plant has been used in ointments for external ulcers. Source: https://pfaf.org/
Find more about this plant on Wikipedia.