limestone is permeable allowing water to seep into it through joints and bedding plains. water flows underground via a swallow hole. caves form when areas of close together joints and bedding plains dissolve better due to carbonation, the process by which rainwater becomes acidic. many caves form a cavern.