The present invention provides compositions and methods for targeting dendritic cells of the immune system. In particular, the compositions comprise carbon nanoparticles, optionally magnetic carbon nanoparticles comprising iron, which are preferentially endocytosed by dendritic cells compared to macrophages when contacted with a biological sample. The nanoparticles of the present invention may be functionalized to enhance delivery of biomolecules to dendritic cells.