Fennel ( Foeniculum vulgare) is a plant species in the genus Foeniculum ( treated as the sole species in the genus by most botanists) .