How do hotels actually get their stars?

What it actually takes for a hotel to earn its star rating in India