Hertzsprung-russel diagram and the life of stars