On the structure and evolution of stars. I.