QUICK ANSWER
"On it" is a phrase which is often translated as "encima", and "in it" is a phrase which is often translated as "en él". Learn more about the difference between "on it" and "in it" below.
on it(
an
iht
)A phrase is a group of words commonly used together (e.g., once upon a time).
1. (on top)
2. (colloquial) (informal) (I'll do it)
A word or phrase that is commonly used in conversational speech (e.g., skinny, grandma).
A word or phrase used to refer to the second person informal “tú” by their conjugation or implied context (e.g., How are you?).
in it(
ihn
iht
)A phrase is a group of words commonly used together (e.g., once upon a time).
1. (general)
a. en él (masculine)
Aren't you going to watch that documentary? - I watched a few minutes but wasn't really interested in it.¿No vas a ver el documental? - Vi unos cuantos minutos pero no estaba interesada en él.
b. en ella (feminine)
What do you know about the new ad campaign? - I know that those involved in it will be expected to work long hours.¿Qué sabes de nuestra nueva campaña publicitaria? - Sé que los que participen en ella tendrán que trabajar largas horas.
c. dentro
The book might be in my backpack. - I looked in your backpack, and I didn't see anything in it.Puede que el libro esté en mi mochila. - Miré en tu mochila y no vi nada dentro.