From stellar structures to fundamental physics