Towards further understanding the applications of endophytes: enriched source of bioactive compounds and bio factories for nanoparticles