I agree, Colr's plant appears to be
Red Elderberry (Sambucus racemosa)
@AnnebelleR, since you posted your photo here on Colr's thread, many members probably won't see it. It's best to start a separate thread with a photo of your plant that you want identified; just scroll to the bottom of this page
https://garden.org/forums/view... and where it says "Start a new thread", type in a subject and upload your photo. If you can upload a couple of photos; one of the entire plant, one showing the leaves and also one showing the flowers, I'm certain someone will be able to identify it for you.
edited to add: That being said, those pretty flowers in your photo do look like they might be some sort of Elderberry! You don't have a location of where you live or what part of the country/world the plant is growing but we have lots of different types of Elderberry listed here in our database with photos for comparison:
https://garden.org/plants/sear...