when did he become a coach

Why are only 5 digit codes written on train coaches what is the meaning of these numbers?

Indian Railways is the fourth largest rail network in the world. Every day millions of…