Hemorrhoids are vascular structures in the anal canal which help with stool control. They become pathological or piles when swollen or inflamed. In their normal state, they act as a cushion which helps in continence to the passage of stools and flatus. They are of Internal and External types.