If you realized that you were dreaming then it was lucid dream.