“…In the presented paper we have obtained the stellar structure equations for a general family of the modified gravity theories, written with respect to the scalar field invariants, introduced some time ago in [61]. We found out the invariant representation very useful since it allows to study diverse theories of gravity, such as for example f (R) and scalar-tensor gravity in different approachesmetric, Palatini, or hybrid, at one go [95]. The relativistic hydrostatic equilibrium equation (33) and the mass function (32) are thus the master equations of our work, and their specific shape can help us to understand effects arising by the presence of such invariants, whose specific forms and characteristics, as shown by a few examples in the section IV, are ruled by gravitational theories, which possess the invariant representation.…”