Nel means in + il, nello means in + lo, we call them preposizioni articolate, because il and lo are articles.
There are also nella = in + la, nei = in + i, negli = in + gli and nelle = in + le.
In is used also alone (as preposizione semplice), for example:
In Italia si mangia bene.
Oggi sono al mare ma domani devo andare in ufficio.
The preposizioni semplici are di, a, da, in, con, su, per, tra, fra.
The prepositions di, a, da, in and su have all the forme articolate.
For example: del = di + il, allo = a + lo, dai = da + i, etc.
For these prepositions you have to use the forma articolata if they are followed by an article:
Correct: Vado dalla nonna.
Wrong: Vado da la nonna.
Con is articolata with il = col and with i = coi, the other forms are less used or archaic.
In this case, however, also con il and con i are correct and probably more common:
Correct: Il gatto ha litigato col cane.
Correct: Il gatto ha litigato con il cane.
For the other prepositions the forme articolate don't exsist or are archaic.