Coumarin is a naturally occurring organic compound that shows how complex the chemistry of plants is and how much it affects what people do. People have been using it for hundreds of years because of its sweet smell, which smells like vanilla and freshly cut hay.