What is a sentence fragment?

A sentence fragment is an incomplete sentence that cannot stand by itself and does not make sense on its own.
Usually, the sentence is missing a proper subject-verb relationship.
For example, "In France, just before D-Day and after the Americans had joined the war." is an incomplete sentence. It describes to the reader the time and place, but there is no subject-verb relationship and it is therefore unclear what the writer means.