Recent advances in nanoscale characterization and device fabrications have opened up opportunities for layered semiconductors in nanoelectronics and optoelectronics. Due to strong confinement in monolayer thickness, physical properties of this materials are greatly influenced by parameters such as strain, defects, and doping at the nanoscale. Therefore, understanding the effect of this parameters on layered semiconductors is the prerequisite for any device application. In this doctoral thesis, impact of such parameters on the optical properties of layered semiconductors are studied in nanoscale. MoS2, the most famous transition metal dechalcogenide (TMDC) (n-type semiconductor), and p-type GaSe, a member of metal monochalcogenide (MMC) are investigated in this work. Finally, in outlook, a device made of p-type few layer GaSe and n-type 1L-MoS2 is discussed