Introduction India has the second most extensive network of railways in the world, which has over 63 000 Km of…