What are the different fight shorts in martial arts?

Have you seen many different styles of martial arts fights and wondered why they all wear different shorts or even trousers?