Talking in sleep

Okay so the other night I was sleeping and it was a light sleep, enough to the point where I was dreaming of where I was exactly at that time, I was dreaming of talking to my boyfriend and he wouldn’t respond so I kept yelling “hey! Can you hear me?” 3x and then I woke up to myself saying it and my boyfriend said I was talking saying that exact same thing. What does that mean? What is going on?