Electron Density Profiles in the Ionosphere and Exosphere