Nutmeg is the seed of the nutmeg tree, scientifically known as Myristica fragrans. This tree is native to the Spice Islands of Indonesia and can grow up to 20 meters tall. The spice is derived from the seed itself, while the outer covering, called mace, is also used as a spice. Thus, nutmeg is not a herb or shrub, but rather the product of a tree.
It is a fungus.
Lemon is neither an herb nor a shrub. It is a tree.
shrub
shrub
Shrubs
tree
Tree
A cucumber is a fruit (it contains seeds) but can also be classified as a vegetable.
Lemon plant is a tree, where the lemon fruits are growing. Those lemons, what we buy in grocery stores.
A bougainvillea is a shrub or small tree.
Technically it is called a herbaceous shrub
is bamboo a herb shrub or a tree