A versatile preposition built around the core idea of being "in" something
Encoding Strategies:
linguistic

in
in / inside
En means in and is a direct cognate of the English word. Nearly every way it's used connects back to being inside something0.
en
in, inside (enclosed space)
Being inside a physical space or container.
- Hay leche en el refrigerador = There is milk in the refrigerator
- Estamos en la casa = We are in the house
on (surface)
Something resting on a surface is 'in' the space of that surface.
- Los platos están en la mesa = The plates are on the table (the plates are in the table)
- Hay una mancha en tu camisa = There's a stain on your shirt (there's a stain in your shirt)
at (location / institution)
Where English says "at" for places and institutions, Spanish just says "in."
- Los niños están en la escuela = The kids are at school (the kids are in the school)
- Te veo en la fiesta = I'll see you at the party (I'll see you in the party)
in (period or year)
Something happening in a period of time is 'inside' that stretch of time.
- En 1969 llegamos a la luna = In 1969 we reached the moon
- En verano hace mucho calor = In summer it's very hot
in (manner or way)
When you do something a certain way, you are operating 'inside' that style or form.
- Háblame en español = Talk to me in Spanish
- Lo dijo en voz baja = He said it in a low voice
by, in, on (vehicle or transport)
When you travel using a vehicle, you are literally 'inside' it.
- Fui en avión = I went by plane (I went in a plane)
- Prefiero ir en tren = I prefer to go by train (I prefer to go in a train)
about, in (topic of thought)
When you're deep in thought 'about' something, your mind is 'in' that topic.
- ¿En qué piensas? = What are you thinking about? (in what are you thinking)
- Siempre piensa en el trabajo = He always thinks about work (he always thinks in work)