Physics of Stellar Evolution and Cosmology