Without rewriting the code, I want the part where the circles overlap to be transparent so it appears white (or whatever colour is hiding behind the circles).
Graphic designers might refer to this as a clipping mask, alpha compositing, etc.
It's a boolean operation: A XOR B.
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[node distance=3.50em, auto]
%%% define shapes %%%
\tikzstyle{bluecircle} = [draw, circle,
fill=blue!20,
line width=0.00em,
minimum height=5.00em,
text centered]
\tikzstyle{emptycircle} = [draw, circle,
fill=none,
line width=0.10em,
minimum height=5.00em,
text centered]
\tikzstyle{emptysquare} = [draw, rectangle,
fill=none,
line width=0.10em,
minimum height=6.00em,
text width = 9.00em,
text centered]
%%% circle fill %%%
\node[bluecircle] (A) {};
\node[bluecircle, right of=A] (B) {};
%%% circle edge %%%
\node[emptycircle] (A2) {$A$};
\node[emptycircle, right of=A] (B2) {$B$};
%%% square edge %%%
\node[emptysquare, xshift=1.75em] (U) {};
\end{tikzpicture}
\end{document}


even odd rule. Search for that in the manual and I think you’ll find what you’re looking for. – Matthew Leingang Jul 20 '19 at 17:04