The story
The railway was built to connect the Mauá Port, at Guanabara Bay, and the base of the Estrela mountain, located at the region of the city of Petrópolis, state of Rio de Janeiro. The project's main objective was to ease the difficulties of transporting cargo and passengers between the coast of Rio de Janeiro and the state's interior, an important hub for coffee production - one of the main exports of Brazil at the time.
From Wikipedia’s article on Mauá Railway, shared under CC BY-SA 4.0.3
