Hydroxides are compounds that contain a hydroxyl group (-OH) and act as weak bases by accepting a proton to form water.