The core part of your private pilot license course duration is the actual flying: dual flights with an instructor solo flights cross country navigation and basic instrument flying. In India the DGCA mandates at least 40 hours of flying (including dual solo cross country and instrument hours).
The ppl course duration also covers ground classes studying aviation theory meteorology navigation regulations etc. This usually takes 2 to 3 months.
Simulator training is used in many flying schools to help students practice instrument procedures navigation emergency procedures etc. However simulator hours usually do not fully replace real flying hours for the PPL. In many cases the simulator training is supplemental.
Simulator training helps build skills in a safer controlled environment.
Some schools may allow a limited number of simulator hours to count toward instrument training but this depends on the regulations and institute policy.
For PPL duration most of the required time is intended to be real flying hours under the supervision of the DGCA rules.
The private pilot license duration is primarily made up of actual aircraft flying time and ground theory classes.
Simulator time can help you practice and reduce risk but it is generally not fully counted as a replacement for required flight hours in ppl duration.
If the training institute allows some simulator time to count it will be a small part and only for instrument or procedural practice not for all flying hours.
So while simulators are very useful in your learning journey the private pilot license course duration mainly revolves around real flying and theory classes not just simulator hours.