Pile formation is possible both inside and outside of the anus. Internal piles or hemorrhoids start above the dentate line, but external hemorrhoids start below the dentate line.