If you're searching for the Chaos Emeralds in the Sonic games, the answer depends a bit on which title you're playing.
In general, these powerful gems are hidden throughout the levels, waiting for you to find them as you explore. Keep your eyes peeled and be thorough—the emeralds are usually tucked away in special stages or secret spots rather than out in plain sight.