In this thesis? a sensitive and new optical sensor using a molecularly imprinted polymers layer coated on anew green carbon dots for selective determination low levels of propranolol was developed. In the first step, green CDs for the first time from Cedrus plant were synthesized by the hydrothermal method. At the next step, by reverse microemulsion technique a thin film of silica, on the surface of CDs were maked. At last, molecularly imprinted polymer embedded CDs (MIPs/CDs) were obtained. At last, propranolol was removed from the MIPs/CDs of nanocomposite by mixed ethanol and acetonitrile solvents, and finally, the nanocomposite was used to measure propranolol. Under optimal conditions, the response of the nanocomposite to propranolol? the linear range was 0.08- 6.50 nmol L -1 and detection limit was 0.02 nmol L -1 . This sensor was used to measure propranolol in human blood plasma samples. The results confirmed the sensor has advantages such as rapid response, sensitivity and high selectivity, cost-effectiveness, and the lack of large volumes of organic solvents for measuring propranolol. In the second reswrch work, to measure phenobarbital? the MIPs/CDs nanocomposites was used? as originally prepared. After optimizing the effective factors of the sensor response, the linear range was obtained from 0.04 to 3.45 nmol L -1 and detection limit was 0.01 nmol L -1 . This sensor was used to measure phenobarbital in a human blood plasma samples.