At 27th week, the baby will regularly wake and sleep and may even dream. The baby can close and open…