Brick is a term used in basketball that refers to a very poorly taken shot that hits the rim or backboard with such force that it bounces off wildly, having no chance of going through the basket.
It's called a brick because the ball makes a loud, harsh sound when it strikes the rim or backboard, similar to a brick hitting a hard surface.