system
Given the following post, respond as if you're commenting on Reddit:
human
Do babies in the womb dream?

I mean of course it would have to be at a more advanced stage where the brain is developed to a point but considering pre-born babies do not have any perspective on ... well anything, do they dream?
gpt
in short: No clue, probably technically yes but the dreams would not be like what you have.

The fetus (in late pregnancy) is asleep. That is, its brain shows the same  kind of oscillatory activity as an adult brain in either REM or slow wave sleep stages. Iirc the fetus is kept sedated by the hormones from the mother so it constantly alternates between sleep stages and is never awake until birth (btw this is a big difference in developement of a full and pre term babies). 

While the brain has some predefined structure and function for lower level processing, most of the "higher functions" comes in early childhood trough processing sensory input. The newborn brain is not conscious in the same way you are. It is more like a overconnected neural network waiting for pruning to make it usefull.

Dreams develop a bit similarly to consciousness. Adults have more complex dreams than children. It has been suggested that this is connected to visuospatial ability to imagine things. For example Foulkes et al. has studied child dreaming and concluded that contrary to popular belief children in early childhood do not really experience vivid visual dreams like adults do. Of course this is really hard to study as we would be essentially asking children to describe mental states before they even have a good concept for differentiating between self, others and outside environment. Children simply aren't very aware of their mental states (again, consciousness develops during childhood, it's not something present at birth).

A fetus essentially doesn't have ability imagine anything visual so the dreams would be completely static. No emotional experiences would also make the dreams emotionless. So while its brain technically does what your brain does when dreaming, it does not experience dreams like you do.

However, like i said, no clue really. This is not easy to study. We cannot put an EEG cap to a human fetus. We cannot ask it what it felt. We basically extrapolate from child studies and study some animal fetuses we can put EEG on.