Piles or a hemorrhoid refers to the formation of swollen blood vessels across the rectum and anus. This primarily happens when the haemorrhoidal veins situated at the posterior part of the rectum stretch, become thin and get inflamed by bowel movements.