A player is disqualified ("fouls out") after committing 5 personal fouls; Common personal fouls: blocking, charging, pushing, holding, hand-checking, illegal screen; Shooting fouls: 2 or 3 free throws depending on the foul location; and-one if the basket counts
Why people argue about this
People often assume that technical fouls in basketball are always just free throws, forgetting they can also result in immediate ejection from the game if severe enough. The confusion arises because of how quickly these penalties escalate and how different types of fouls (technical, flagrant) have distinct consequences that aren't always immediately apparent to players or fans alike.