The Crystal Fragments are objects that appears in Sonic Boom: Shattered Crystal. They are fragments of the Lost Crystal of Power which the Ancients shattered into several shards and then hid away to keep them out of the grasp of Lyric the Last Ancient.
One of the objectives in Sonic Boom: Shattered Crystal is to locate all the Crystal Shards.
The Crystal Shards are hand-sized purple (light blue in the in-game comic), slim shards with a rough surface. Each containing a fragment of their aggregated form's power, the Crystal Shards can be harnessed to warp reality to some extend, like when the Ancients used them to imprison Lyric.
While the shards are powerful enough for the Ancients to deem them dangerous, they do not seem match up to the Lost Crystal, even when used together, since the Ancients were only able to imprison Lyric temporarily when using all of them.
Sonic Boom: Shattered Crystal
When the power-mad Lyric the Last Ancient was on the verge of obtaining the Lost Crystal of Power which would give him omnipotence, the Ancients opted to destroy the crystal, shattering it into forty Crystal Fragments which they used on Lyric to imprison him. However, the Ancients knew it was only a matter of time before Lyric would return, so they scattered the Crystal Shards to prevent the Lost Crystal from being reassembled.
Lyric eventually escaped 5,000 years later and started searching for the Crystal Shards. Meanwhile, Amy Rose had discovered a secret ancient language and manuscript detailing the history and whereabouts of the Lost Crystal of Power's fragments. As such, Lyric kidnapped Amy to probe her mind for information on the Crystal Shards, but Team Sonic put a stop to his plan. During their journey, the team also found all the Crystal Shards and reassembled the Lost Crystal.
One of the side quests in Sonic Boom: Shattered Crystal is to collect all forty Crystal Shards which are hidden in the adventure levels. Each level holds five Crystal Shards and collecting all five will unlock a Sonic Badge. Each Crystal Shard is automatically obtained from a spherical silver and red container containing the shard inside which breaks when touched. The player can then bring the Crystal Shards to Sticks' Burrow where they can be reassembled into the Lost Crystal. Additionally, the restored shards will fill in various spots on the crystal, affecting the way the top screen looks during loading times.