The part of propositional logic which seems to be most relevant for this discussion on logic is explained in the tutorial
https://www.iit.edu/sites/default/files/2021-02/basic_propositional_logic_workshop.pdf
Please see my additions in the attachment.