Original: It is the leaves that are used in cooking, and the dried herb is often more flavourful than the fresh.
Simplified: The leaves are used for cooking.