Based on the passage and the diagram at the end of the passage, which is the function of ballast?
A
to stabilize the ship
B
to protect the ship's crew
C
to protect the ship's cargo
D
to keep the ship afloat