Question: why use glm instead of ols?
Answer: Summary of advantages of GLMs over traditional (OLS) regression. If the link produces additive effects, then we do not need constant variance. The models are fitted via Maximum Likelihood estimation; thus optimal properties of the estimators.