Megaloblastic anemia is a type of anemia characterized by the presence of large, abnormal, immature red blood cells called megaloblasts in the bone marrow. This condition is often due to a deficiency of vitamin B12 or folic acid, both essential for DNA synthesis and proper red blood cell formation.