Piles also known as hemorrhoids, are swollen veins in the anus and lower rectum. They can be external or internal. Piles can develop from increased pressure in the lower rectum due to: Straining during bowel movements. Sitting for long periods of time, especially on the toilet.