Pergunta de entrevista da empresa Microworld Technologies

Bitwise operation AND OR. Explain logic behind it?