The formation of dental cavities