I wrote following code and I added picture below the text but it appeared above it. can anyone please suggest fixes, Thanks.
\subsection{Bloch sphere}
Bloch sphere is graphical representation of Qubit. It’s a unit sphere on the surface of which all possible pure states exists and all the mixed states exist inside it. |0⟩ and |1⟩ occupy the north and south pole of the sphere, respectively. And, |+⟩ and |-⟩ states lie on the equator.
\begin{figure}
\centering
\includegraphics[width = 0.7\textwidth]{Fig2.png}
\caption{Bloch sphere Representing qubits}\cite{jazaeri2019review}
\label{ }
\end{figure}

\begin{document}and an\end{document}:) It will help people more easily answer your question. – Feb 12 '24 at 03:48\begin{figure}[h]instead of just\begin{figure}. I haven't tested it myself, but using an option may help. This website may be useful: https://www.overleaf.com/learn/latex/Inserting_Images#:~:text=The%20options%20are%20as%20follows%3A%201%20Use%20the,graphic%20and%20places%20it%20inside%20a%20figure%20environment. – Feb 12 '24 at 04:05