Well its original purpose was the construction of a transcontinental railway, a promise to British Columbia upon its entry into Confederation. The railway completed in 1885 connected Eastern Canada and played an important role in the development of the nation.
I hope this helps you :)