Effects of rotation on internal structure of the stars