Why logic gates are called logic gates?

Logic Gates are electronic building blocks of a digital system.

Their physical manifestation may take any form, but essentially a logic gate consists of a collection of binary digits and a set of rules where such digits are combined to give a resulting set of binary digits.

The rules that are implemented by logic gate are of the fundamental Boolean Algebraic Operations.

Logic gates may be coupled together so that digital input to a system produces a predetermined digital output. It is a logical set of rules. The concept of digital information flowing into a system through an electronic pathway coveys a perception that gave someone the idea of a gate when this was named long ago.