This is a Rosa rugosa, a plant commonly found on sea shores but not native to the Americas. The flowers resemble red carnations and is very thorny with a bush growth habit. Needs full sun, but will tolerate some shade, regular water and fertilize with a food formulated for roses. Most people who plant this in their landscape come to regret it as they spread all over the place and are very thorny but allow weeds to grow up between and among them. So keeping the area looking good is a challenge. The rose hips (pods you see in your photo) are edible when they are bright red although you can only eat the fleshy covering, not the seeds inside. Many people use them to make jelly, however. These are sometimes mistaken for beach plums, but that is an entirely different plant.