This review concentrates on nucleosynthesis processes in general and their applications to massive stars and supernovae. A brief initial introduction is given to the physics in astrophysical plasmas which governs composition changes. We present the basic equations for thermonuclear reaction rates and nuclear reaction networks. The required nuclear physics input for reaction rates is discussed, i.e. cross sections for nuclear reactions, photodisintegrations, electron and positron captures, neutrino captures, inelastic neutrino scattering, and beta-decay half-lives. We examine especially the present state of uncertainties in predicting thermonuclear reaction rates, while the status of experiments is discussed by others in this volume (see M. Wiescher). It follows a brief review of hydrostatic burning stages in stellar evolution before discussing the fate of massive stars, i.e. the nucleosynthesis in type II supernova explosions (SNe II). Except for SNe Ia, which are explained by exploding white dwarfs in binary stellar systems (which will not be discussed here), all other supernova types seem to be linked to the gravitational collapse of massive stars (M>8M ) at the end of their hydrostatic evolution. SN1987A, the first type II supernova for which the progenitor star was known, is used as an example for nucleosynthesis calculations. Finally, we discuss the production of heavy elements in the r-process up to Th and U and its possible connection to supernovae.