Basketball is a team sport played between two teams of five players on a rectangular court. The objective is to score by shooting a ball through a hoop (or basket) on the opponent's side of the court, while preventing the other team from doing the same.