Optical Properties of Nanostructures