They are both predominantly water ice, with a small amount of carbon dioxide.
They contain a residual cap, which remains frozen.
They shrink and grow with the Mars seasons.
They store a large fraction of the gas that was once contained in the Mars atmosphere.
They cause variations in the atmospheric pressure.