2. Let $p:\left(x^{2}+x+1\right) \sqrt{x+3} \geqslant 0$ , $q: x \geqslant-2$.
Then $p$ is a () condition for $q$.
(A) sufficient but not necessary
(B) necessary but not sufficient
(C) both sufficient and necessary
(D) neither sufficient nor necessary
2. B.

Notice that
$$
\left(x^{2}+x+1\right) \sqrt{x+3} \geqslant 0 \Leftrightarrow x \geqslant-3 \text {. }
$$

Therefore, if $p$ holds, it does not necessarily imply that $q$ holds.