Its aromatic leaves are edible.

Perennial pea
Perennial pea / Wild sweet pea / Everlasting pea
Lathyrus latifolius
Pea family
This is a non-native species that’s often found along roadsides and disturbed grounds.
After blooming, the plant will produce seedpods which look the same as those of an edible pea plant. Don’t eat these “peas,” though. They are poisonous.
