In the second trimester the fetus goes through periods of sleep and wakefulness and responds to bright light and loud sounds. So the answer to your question would be the second trimester. This is because they are developing their senses already that is why the parent needs to take care of their baby inside.