Used in various contexts to indicate similarity.
El mesmo día que firmamos el contrato, decidimos hacer una fiesta para celebrarlo.
On the very day we signed the contract, we decided to throw a party to celebrate it.
El mesmo día en que llegamos, comenzó a llover.
The same day we arrived, it started to rain.