Defenses are personnel based. If you have a height/size disadvantage, you can play a compressed zone such as a 2-3 to crowd the box to avoid the bigger offensive player being down low in a 1 on 1 situation.
If you have a dramatic speed advantage you can go man-to-man to be disruptive. And to create fast break opportunities if you get the defensive rebound.
In high school we ran a defense that was called a box and one. Basically it's a 4-man zone and one "floater" who was always our best lockdown defender and his job was to stay with the best player on the other team at all times. It was very effective against teams that had one star player and no one else.
So..... again..... personnel based. Teams switch up their defenses several times in any game. They put in their big boys, you go zone. They put in all guards/fast players, you go man-to-man. Etc.