Hemorrhoids, also known as piles, are swollen veins in the anus and lower rectum. They can be external or internal. Hemorrhoids 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.