Basketball was invented in 1891 in Springfield, Massachusetts by Dr. James Naismith as an indoor winter game. It introduced fundamental skills like dribbling, passing, shooting, and established fouls and violations to structure competitive play. The modern game is played by two teams of five players who score by shooting the ball through a hoop mounted above the court.