Need help in buying a sports camera

So I need help in choosing a sports camera

Also want to know the pros and cons of mirror less camera and dslr

What all things should I look at when I’m looking at a sports camera

I’m a beginner in photography so don’t know much about it

Thanks in advance