how does one define obesity?

Isnt the BMI index an unreliable one?