There are 12 players in a basketball team but only 5 players play in the court – the rest are to replace players when needed.