What Is Boolean Logic and How It Works?