Spirulina is a good source of vitamin B12 and folic acid (folate), making it a good dietary source for megaloblastic anemia.