Hi Ravindra Singh,
MD is a medical degree in india where as MS is surgical. Both are essential and mutually complementary parts of medical sciences.
So, generally in India the duration of MD or MS course is 3 years. For further reading, you can check the links given below:
https://www.google.com/amp/s/medicine.careers360.com/articles/mbbs-vs-md/amp
https://www.careers360.com/question-total-number-of-md-and-ms-seats-in-india
Hope this helps. All the best for yiur future.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile