As you see in the red part of the picture, I would like to add keys to explain what the brackets stand for. I just added this with paint, but is there a way to do this in tex? Also, are there nicer semantics for explaining such keys, e.g. using a : or spelling brackets as brackets?

\begin{table}[!ht]
\centering
\setlength{\tabcolsep}{3pt}
\begin{tabular}{ | l | c c |}
\hline
& Column1 & Column2 \\ \hline
X & A (B) & F \\
y & C & F [D] \\ \hline
\end{tabular}
\caption{Some table}
\label{tab:table}
\end{table}
