In the U.S. it is no longer illegal to be a gay man, or gay woman, who has sex with another man or woman. In most free nations and democracies this holds true. But in the world's largest democracy, India, this is unfortunately not so.
The India Supreme Court overturned a lower court ruling that ended the anti-sodomy bans of that nation. I am of course not an expert on the Indian Constitution but I find it hard to believe that their Constitution does not protect the rights of a disliked or despised minority.
India is maybe the most religious democracy in the world, yes, even more then the U.S. Bigotry against gays and lesbians is of course not limited to Christianity or Islam but also has a hold among some believers of Hinduism, the majority religion of India.
Organizations such as the Human rights Campaign fight against this bigotry here in the U.S. There are also organizations such as this in India, but they have of course a more uphill battle to fight.
One day there will be marriage equality for gays and lesbians in India, but first, they need to be protected from being imprisoned for loving who they love.