Boolean logic does not just work with numbers. Boolean expressions can also compare text, for example to check if a password is correct.