Phytochemical and pharmacological investigation of medicinal plants and synthesis of some selected molecules