If you see your gender in your dream, you may be trying to redefine gender roles. You are conscious of how society expects you to be. But if you see your opposite gender, it means you want to incorporate some of their traits.
If you are pregnant and dream of your baby’s gender, it can be because you often think of it. However, a dream cannot tell you for sure what gender your baby is.