When a star evolves (massive stars in particular) it starts to fuse heavier and heavier elements. If a star for example is creating carbon at the center, there may be a shell, an envelope around the core which is hot enough to create helium.