What Is the Difference Between Materials Science and Materials Engineering?

these are two different programs and they offer bachelor of science and bachelor of engineering. they sound similar but give different bachelor degrees. what are the actual differences?
also, what does undergraduate mean?
thanks a lot.