Ricky finds a rock that has tiny seashells in it. Which statement is most likely true about the rock?

A The rock was formed in outer space.
B The rock was formed in an ocean, lake, or river.
C The rock was formed by a volcano that erupted.
D The rock was formed by materials that were under heat and pressure.