This will be fairly simple:
The logical AND operation is fundamental in subnetting for accurately determining network addresses and refining subnet masks. This is of course just one of many usecases.
1 & 0 = 0
1 & 1 = 1
0 & 1 = 0
0 & 0 = 0
The logical OR operation is crucial for defining subnet masks and determining network addresses. This is just one of many usecases.
1 | 0 = 1
1 | 1 = 1
0 | 1 = 1
0 | 0 = 0