Addition to above, Manga is the original storyline and is more accurate than the anime because of such. For almost every anime out there it either adapted from manga with the few excpetions with the animes that adapted from videogames
Manga is the book/comic most Anime are based off and have the original story Anime is just the manga but animated kind of like when a movie is made off a series of books unless the Anime is just created cause someone thought of a good idea for an Anime but there's no manga unless they made a manga for it