The seeds of Ricinus communis, Cocos nucifera, Zea mays and other cereals are albuminous or endospermic (seeds with endosperm), where endosperm acts as the food storage tissue of a seed.
So, the part of castor (Ricinus communis) seed that yields oil (food material) is endosperm.