Basketball is a team sport consisting of two teams of five players on a rectangular court, invented by James Naismith in 1891. The game features specific rules, including violations for player conduct, fouls, and scoring, with matches divided into four quarters. Various passing and dribbling techniques are utilized by players to advance the ball and score points.