The present invention provides a composition for medical usage and method of preparing the same. The composition includes: at least one magnetic nanoparticle including a nanodiamond particle and at least one magnetic element, where the at least one magnetic element is embedded into the at least one nanodiamond particle by using an ion implantation system. The nanodimond particle can be synthesized with different components which can help medical effects of the composition.本發明提供一種用於醫療用途之組成物及其製備方法。該組成物包含至少一磁性奈米粒子包括一奈米鑽石和至少一磁性元素,其中該至少一磁性元素是藉由一離子佈植系統嵌入至該至少一奈米鑽石內。該奈米鑽石可與不同的成分合成以增進該組成物之醫療效果。