To better understand their properties, various nanostructures have been studied using a technique combining atomic force microscopy and confocal Raman spectroscopy. Under polarized light excitation, the chemical composition, the structure and the presence of defects has been described in metal oxides nanorods (ZnO et α-Fe2O3). Under resonant laser excitation, Raman spectra of polymer-wrapped single-walled carbon nanotubes have revealed the absence of polymer-nanotube charge transfer and an effect due to desolvation. Finally, graphene oxide sheets and combed double-stranded DNAs have been prepared and characterized using tip-enhanced Raman spectroscopy with a lateral spatial resolution down to the curvature radius of the apex of the used tip (12 nm), well below the diffraction limit, which opens new opportunities for spectroscopic works at the nanometer scale.