What's the meaning of "whereas" and how to use it?

what’s the meaning of “whereas” and how to use it?