endogenous = from within

exogenous = from outside

Anandamide is endogenous.

THC is exogenous.

But they both do nearly the same thing.