A cement is a binder, a substance used in construction that sets, hardens and adheres to other materials, binding them together. Cement is seldom used solely, but is used to bind sand and gravel (aggregate) together. Cement is used with fine aggregate to produce mortar for masonry, or with sand and gravel aggregates to produce concrete.
Cements used in construction are usually inorganic, often lime or calcium silicate based, and can be characterized as being either hydraulic or non-hydraulic, depending upon the ability of the cement to set in the presence of water (see hydraulic and non-hydraulic lime plaster). Non-hydraulic cement will not set in wet conditions or underwater; rather, it sets as it dries and reacts with carbon dioxide in the air. It is resistant to attack by chemicals after setting.