Which of the following is a sentence fragment?



A. Realizing you are getting older is sobering.
B. Checking his mail each day was always fun.
C. Knowing he would be late, she took a nap.
D. Hiding in the tree fort he had built as a kid.