Coumarin is a fragrant compound often used in cosmetics to add a sweet and vanilla-like aroma. It is commonly found in perfumes, lotions, and hair care products to enhance the sensory experience.