At 28 weeks of pregnancy, your baby is practising life skills like blinking and switching between REM and non-REM sleep. During the third trimester, the foetus spends 90% of its time in a sleep state.