Polytropic star structure analysis under Bonnor–Ebert gas sphere astrophysical configuration thorough investigating analytical solutions to the related Lane–Emden equation