When to use ASP.NET Core and When to use ASP.NET MVC?

Wha are the main reasons behind it and what are advantages/disadvantages of using each of them?