How are the nucleus and a vesicle similar and different in structure and function? Both are membrane-bound compartments that store and separate certain materials. The nucleus is an almost permanent structure protected by a double membrane bilayer, whereas a vesicle is a temporary organelle.