The Short Version
The statement accurately describes the core process of stellar nucleosynthesis in stars. Standard astrophysics sources explain that stars build heavier nuclei from lighter ones mainly through nuclear fusion. Important nuance remains: ordinary stellar fusion mostly makes elements up to iron, while many heavier elements require neutron-capture or explosive events.