Castor oil contains ricinoleic acid, which has been shown to have insecticidal properties. It can be used to control pests in gardens and crops without harming beneficial insects or the environment.