In this thesis, a stellar structure equation is derived in the framework of general relativity that includes the cosmological constant. Depending on the value of the cosmological constant, stellar properties such as the mass and radius of compact objects may change dramatically. These changes lead to very intriguing results, in which a link between compact star formation and stellar collapse in the early Universe may be established. Additionally, due to the effect that the cosmological constant has on the formation of compact objects, it is possible that stellar collapse in the early Universe may have a connection to gamma ray bursts.