Electronic and Electromagnetic Properties in Nanometer Scales