Basketball is a game played on a court, also known as the floor. In the NBA, the dimensions of the court measure 50 feet wide by 94 feet long. There is a hoop on both sides of the court where the scoring occurs. The hoop consists of a basket, backboard, and net.
To score points, the ball must pass through the rim and through the mesh netting. A player must also be in bounds when shooting the ball. The three-point line surrounds each basket. If a player shoots the ball from outside the three-point arc, it's worth three points while a basket inside the arc is worth two points.
The format of a basketball game in the NBA is four quarters that last 12 minutes each. In college basketball, there are no quarters. Instead, there are two halves of game time that last 20 minutes. Overtime is used if the score is tied at the end of the 4th quarter. The shot clock keeps track of how much time a team can have possession of the ball. In the NBA, the shot clock is 24 seconds while it is 30 seconds in college.
Each team has five players on the court playing both offense and defense. A basketball team has a point guard, shooting guard, small forward, power forward, and center. Players move the ball on the court by shooting, passing, dribbling, and pivoting.
Jump balls and throw-ins are used to put the ball in play. Coaches can make substitutions for their players when the ball is dead. The referees will blow their whistle and stop play if a foul or violation happens on the floor. When a player is fouled, they get free throws which are worth one point each. If a violation is called, it's a turnover and the other team gets possession of the ball. A personal foul is called on any player that makes illegal physical contact with an opposing player. An example of a violation is a shot clock violation that happens when the shot clock hits zero.
Check out these tutorials if you want to learn all about basketball: