Milkweed and Queen Anne's Lace


This pretty purple flower I found as I was walking up to the water. I am wondering what kinds of common factors all these plants have that allow them to grow in a shoreline environment.
Observations along the shoreline in Connecticut



This is a close up or some rose hips from the rosa rugosa. The milkweek plants were in bloom this day. And, I located the beach pea along with queen anne's lace and a few other plants I've yet to ID.
• Family: Pea (Fabaceae)
• Habitat: sandy shores
• Height: 1-2 feet
• Flower size: 3/4 inch wide
• Flower color: pink to purple
• Flowering time: June to August
• Origin: native(http://www.ct-botanical-society.org/galleries/lathyrusjapo.html)