The 5 main rules in Basketball and the NBA are:
Only 5 players on each team at the court at the same time
The team with the most points at the end of the game wins
One attack is over after 24 seconds
The offense has 5 seconds in the inbound
The ball has to be dribbled during advances