Let's give a different (counter)example: (The highlighting is merely for emphasis.)
Let A={1, 2}
Let B={{1}, {3}, {1, 2}, {1, 2, 4, 8}} ---- You could also write this as: B={{1}, {3}, A, {1, 2, 4, 8}}
Let D={ {{1}, {3}}, {{1, 2, 3}, {1, 2, 4, 8}}, {{1}, {3}, {1, 2}, {1, 2, 4, 8}} }
A is a set whose elements are natural numbers: in this case 1 & 2.
B is a set whose elements are themselves sets: in this case sets of natural numbers, one of which is the set A.
D is a set whose elements are sets of sets. Although the set A is contained in one of the sets of sets, namely set B, which appear in set D, A itself does not appear as one of the elements of set D.
The (counter)example give as the solution is merely a very simple one.