Which of the following is a compound sentence? (1 point)

A To get to the zoo, we took the train and a cab.
B Before we left, I bought a hat at the gift shop.
C It was a beautiful day, so we decided to go to the zoo.
D We saw pandas during our visit to the zoo.

A To get to the zoo, we took the train and a cab.