Do we really need real devices for checking website mobile compatibility or are emulators good enough?

I want to know that do we really need real devices for checking website mobile compatibility or are emulators good enough.