Gravitational collapse is a phenomenon in astrophysics where a massive object, such as a star, undergoes a rapid and intense contraction due to the force of gravity overcoming internal pressure. This phenomenon is a fundamental aspect of astrophysics and plays a crucial role in the formation and evolution of celestial bodies. Gravitational collapse occurs when an astronomical object is unable to counteract the pull of its own gravity. White dwarfs and neutron stars often develop as a result of collapse processes. When the internal pressure of the star balances the pull of its own gravity during thermonuclear burning, the star is in an equilibrium configuration. As a result, after the nuclear burning is complete, the star may, depending on its mass, once again have an equilibrium configuration as a neutron star or white dwarf. Also, in general relativistic gravitational collapse, one should match the interior and exterior geometry of the collapsing object through the proper junction condition. The problem of general relativistic gravitational collapse has attracted attention from researchers since the development of Einstein’s theory of general relativity in the early 20th century. Gravitational collapse has gained prominence as a natural extension of general relativity and its implications for extreme astrophysical scenarios. The initial interest in the general relativistic gravitational collapse problem was developed with the pioneering landmark paper by J. Robert Oppenheimer and Hartland Snyder in 1939 [
1]. They applied general relativity to the collapse of massive stars and predicted the formation of black holes. The discovery of solutions like the Kerr metric (describing the rotating black holes) and the formulation of black hole thermodynamics by Stephen Hawking and Roger Penrose increased interest in the nature of black holes and their role in gravitational collapse. Roger Pnrose proposed the cosmic censorship conjucture (CCC) in the 1970s, suggesting that naked singularities are not formed through the gravitational collapse process, i.e., the space-time singularity formed by gravitational collapse should be hidden behind the horizon; this means the end state of a collapsing star must be a black hole (BH). This conjucture spurred further research into the nature of singularities and the stability of black holes. However, there is no mathematical proof in support of CCC, and various models have been published in the literature that depict the ultimate fate of the collapsing star as a naked singularity (NS). This hypothesis led to extensive research and discussion in the field, and its validity is still a topic of investigation and debate in theoretical physics. Later, Indian theoretical physicist Pankaj Joshi contributed significantly to the study of gravitational singularities, including the concept of the naked singularity. He explored scenarios in which gravitational collapse may lead to the formation of a naked singularity rather than a black hole. Thus, the final fate of the collapsing star is still an unresolved problem and has attracted the attention of many researchers for many years, starting with the seminal paper by Oppenheimer and Synder. Although many other gravitational theories exist and are crucial to theoretical astrophysicists, the study primarily focuses on singularity formation within the context of the general theory of relativity [
2,
3,
4,
5,
6,
7,
8,
9,
10]. Astrophysical observations suggest that about 71% of the universe is composed of dark energy and 24% is composed of dark matter. The nature of dark energy as well as dark matter is unknown, and many different models, like quintessence [
11,
12], DGP branes [
13,
14], Gauss-Bonnet [
15,
16], dark energy in brane worlds [
17,
18,
19,
20,
21,
22], and cosmological constant [
23] in Einstien’s field equation, are proposed to explain the nature of dark energy. The cosmological constant (
) model is one of the most important among these. The cosmological constant is the energy related to the vacuum, or empty space. Cosmology has a very interesting and remarkable history with the cosmological constant problem. It has previously been discussed many times why the non-zero cosmological constant should be included in the Einstein field equations for both theoretical and observational reasons. The results of type Ia supernovashow that the universe is accelerating rather than decelerating [
20]. These findings suggest that a non-zero cosmological constant may exist in our universe. Instead of the constant
, the dynamical character of
is preferred to explain the expansion of an accelerating universe. In literature, gravitational collapse in the expanding universe is studied [
21]. In a collapsing configuration, the mass of the collapsing star expands negatively, i.e., towards the core of the star. Several questions serve as the basis for our work: In what way does the cosmological constant act as a repulsive force? How does it impact the motion of a collapsing star? There are many different models that have been proposed in the literature to explain
, in which natural dependence is
, i.e.,
or
[
23,
24,
25,
26,
27]. In the present work, we have considered the model
, where
is a dimensionless constant parameter [
27]. In our work, the motion and ultimate fate of a collapsing star are influenced by cosmological constants, and we explore whether the cosmological constant favours a collapsing model or prevents it under certain conditions. The motive of our current work is to discuss the homogeneous collapse of perfect fluid distribution and find the exact solution of Einstein’s field equation by making use of junction conditions. The paper is organised as follows: In
Section 2, we have discussed the basic formalism for Einstein’s field equations and junction conditions. In
Section 3, we have calculated the exact solution of Einstein’s field equations with the use of
parametrization. In
Section 4, we discussed the dynamics of the collapsing model and estimated the model parameter
. In
Section 5, we discussed the apparent horizon and singularity analysis.
Section 6 contains the concluding remarks of our work.