In its purest form, shea butter is edible and can be used as cooking oil. Shea fruit is also edible, and sometimes chocolate companies replace cocoa butter with shea butter in the production process.