Nicodemus came to Jesus in the dark, the analogy is that he went from lack of knowledge to knowledge and he came in the dark and went to the light