Castor oil is made by extracting oil from the castor beans. It is extracted by pressing the beans into a versatile, pale-yellow vegetable oil with a very distinct flavor and smell. Castor oil is known to contain a toxic enzyme called ricin. However, the heating process that castor oil undergoes deactivates it, allowing the oil to be used safely.