Role Of Nanostructured Interfaces In Photovoltaic And Sensing Applications