ANCOVA allows you to either examine the relationship between categorical predictor(s) while controlling for continuous predictor variable(s) or examine the relationship between continuous predictor(s) while controlling for categorical predictor variable(s). Essentially, ANCOVA combines ANOVA and linear regression and does much the same thing as dummie coding categorical variables in a regression analysis.