Piles, also known as hemorrhoids, are swollen veins in the anus and lower rectum. They can be internal, located inside the rectum, or external, located outside the anus. Symptoms of piles include itching, pain, and bleeding during bowel movements. Piles can be caused by a number of factors, including constipation, diarrhea, and pregnancy.