Animation is a broad term that covers many visual artforms, motion graphics included. The primary difference is that motion graphics focus on shapes and images, whereas animation is more story and character driven. Motion graphics would be a logo flying onto screen, whereas animation would be the logo personified as a character talking to the audience.