In this study, we explore the quantum effects in the Schwarzschild spacetime for massive and massless scalar particles in the presence of an external gravitational field. The methodology involves the analytical solution of the Klein–Gordon equation for the scalar particles in the near-horizon spacetime limit, using Rindler approximation. The results show that the quantum effects differ significantly for the massive and massless cases, they possess similar characteristics near the event horizon. Bosons without mass that are distant from the event horizon undergo a reduced gravitational impact and possess a symmetric wave function that remains unchanged when they approach the event horizon. However, the symmetry is lost, indicating that the particle strives for a lower energy state and becomes erratic as it nears the event horizon. This aligns with the anticipated behavior of particles within the Schwarzschild horizon. The particles have an energy spectrum even for tremendous values of the Schwarzschild radius, which entails the validity of the Rindler approximation in the near horizon geometry. We have observed that the quantum effects of massive and massless particles differ based on the mass. Specifically, massive and massless scalars behave differently due to their geometric differences, which results in different eigenstates. Although they both tend to seek lower energy levels when they approach the event horizon, their behavior is not the same.