Three people were shot — one fatally — in a pair of incidents just blocks from each other in Brooklyn on Tuesday, police said.

A 15-year-old boy and another man, 42, were shot around 2:45 p.m. inside NYCHA’s Bushwick Houses complex at 370 Bushwick Ave in Williamsburg.

Darianny Ventura, 18, was sitting inside a nearby beauty salon when she heard several gunshots.

When she looked to see what was going on, she saw a crowd of approximately 50 people running out of the Bushwick Houses courtyard and into the street as police converged.

“We heard the shots, six times. Two minutes later, [there were] a lot of people running like crazy,” she said.

“I saw somebody on the ground. He looked like he was gonna die.”

Both victims were rushed to Woodhull Hospital, where the teen was pronounced dead. The second man suffered a graze wound to the face, but was expected to survive, cops said.

An 18-year-old man was taken into custody shortly after the incident.

Earlier in the afternoon, a teenager was shot in the abdomen around 1 p.m. near the intersection of Flushing Avenue and Humboldt Street — about three blocks away from where the fatal shooting took place, cops said.

The 16-year-old boy was taken to Woodhull Hospital with non-life threatening injuries, they said. One of his suspected shooters was taken into custody at the scene, while a second suspect remained at large, police said.