It is a term used to describe the period in which a fetus develops inside the uterus lasting for about 40 weeks from the first day of the last normal period(LNMP) to delivery of the baby .