Answer:
D. Realizing they were out of bread, the family went to the store.
Step-by-step explanation:
In A and B, adding the period right there in the middle of the sentence cuts it off. It doesn't make sense anymore because neither sentence works on its own. In C, the semicolon is uneccesary.
Hope this helped :)