Nearly all caves form by dissolving cavities in limestone (CaCO3) rocks which underlie about half of Ireland's surface. Occasionally, some caves form in marble, quartzite and rarely, other rocks. Sea caves are not formed by chemical action away but are physically eroded by the sea, and are not usually extensive or deep.