Cement is a component of mortar, which also includes water, sand, and lime for masonry.