How can I take a photo like this of a necklace?

I want to take a photo just like this photo. The necklace doesn’t look like it has put on a flat surface. How can I achieve this? Thank you.
enter image description here