The Role of Extra Dimensions in String Theory