Fundamentals and Applications of Nanophotonics