Piles, also known as hemorrhoids, are swollen veins in the anus and lower rectum. They can cause discomfort, itching, and rectal bleeding and can be the result of straining during bowel movements, prolonged sitting, pregnancy, chronic constipation or diarrhea, a low-fiber diet, aging, and genetics.