Let’s begin with ‘in’. ‘In’ means to be surrounded/enclosed by something else. For example, if you are traveling by car, you are inside/enclosed by the outer shell of the vehicle.
My examples should help you understand. Try and learn them if you can as ‘in’ and ‘on’ are frequently confused prepositions.