Both [ ] and [[ ]] test things, and in bash scripts the double form avoids a whole class of quoting bugs. The difference shows up as soon as a variable contains a space or is empty.
[ is a command, so its arguments go through word splitting and globbing first. [[ is part of the bash syntax and does not split:
v="a b"
[ $v == "a b" ] # error: too many arguments
[[ $v == "a b" ]] # true
An empty, unquoted variable is also fine inside [[ ]], where [ ] would see a missing argument. You can also use &&, || and < directly, without escaping them.
There are differences to know. == on the right side of [[ ]] is a pattern match, so [[ $f == *.log ]] works, and you quote the right side if you want a literal comparison. < compares as strings, so [[ 2 < 10 ]] is false; for numbers use -lt or (( )). And =~ gives you regular expressions.
I’d still quote variables inside [[ ]], it does no harm. The one place where [ ] remains the right choice is a script for /bin/sh, such as on Alpine or in a Debian maintainer script, because [[ is not POSIX.
Further reading: Bash manual: Conditional Constructs ([[ ]])