Castor oil is a substance that is also known as a laxative. It is used to treat constipation and to clean the intestines before surgery or as bowel preparation for bowel procedures. It is a stimulant laxative because it increases the movements of the intestines so that stools can pass out effectively. It is available as an oral liquid.