Which group is noted for the independent gametophytic and sporophytic generation?

A. Pteridophytes
B. Mosses, hornworts, and liverworts
C. Angiosperms
D. Charophytes