A maternity hospital specializes in caring for women during pregnancy and childbirth. It also provides care for newborn infants, and may act as a centre for clinical training in midwifery and obstetrics. Formerly known as lying-in hospitals, most of them, like cottage hospitals, have been absorbed into larger general hospitals, where they operate as the maternity department.