Basketball players are skinny because they spend a lot of time training and practicing their sport.  Therefore, they do not have as much time to focus on building muscle mass. But lifting weights will help them build lean muscle mass in order to improve speed and strength so that they can become more competitive in their games.