Why did president Roosevelt want to build a canal in panama?

A to establish a Latin American military base
B to reduce the time and cost of shipping goods
C to support panama, and its rebellion against Colombia
D to punish Latin American nations for not paying their foreign debts

B to reduce the time and cost of shipping goods