An indicator variable, also known as a dummy variable, is used in statistical modeling to represent categorical data as binary values, typically 0 and 1, to enable their inclusion in regression models. This transformation allows for the analysis of categorical predictors alongside continuous variables, facilitating the interpretation of their effects within the model.