They look like cotoneaster berries. They are not edible and are considered mildly poisonous to humans.
What to know:
Eating them can cause stomach upset (nausea, vomiting, abdominal pain). More if a lot is eaten.
Birds eat them without problems; for people, it’s best to avoid ingestion.
If someone has eaten some, give water and monitor for symptoms. Seek medical advice or call poison control if symptoms appear or if a child/pet has ingested a significant amount.