This phrase means "the moment" or "as soon as." It shows that something else happened right after the first thing. Sometimes, it shows surprise.
、。
The moment I stood up, I felt dizzy.
、。
As soon as I opened the door, the cat darted out.
、。
The moment I saw his face, I completely forgot what I was going to say.
、に。
The moment the sale started, the website became inaccessible.
、。
The moment I left the house, it started pouring with rain.