train carriages

How does the Railways decide which compartment will be placed where in the train?

Whenever we talk about long, cheap and comfortable travel, Indian Railways is the first option.…