Is a mountain bike or a racing bike better?

mountain bike .

Each has its own purpose, for which it is better.

Well there are a lot of mountain bike race disciplines lol so the question isn't really good to go on