Rosemary with lemon juice can be used as a substitute for juniper berries when cooking. Both juniper berries and rosemary have a pine-like taste. Juniper berries have a more citrus taste than rosemary, so lemon juice needs to be added to rosemary to compensate for this flavor difference.
Juniper berries are often used to flavor meats, such as lamb, venison, wild boar and pork. Juniper berries are also the key flavoring ingredient in gin. Juniper berries are not actually berries. They are in fact the tiny cones of the juniper bush. Not all juniper berries are edible, so it's best not to pick them in the wild.