There is no error in the code shown, I show the terminal output at each stage (after making a usable example from your code fragment)
dd978.tex
\documentclass{book}
\usepackage{natbib}
\begin{document}
\chapter{Literature Review}
\section{Humpback Whale Biomimicry}
... \cite{Edel1978} ...
\bibliographystyle{plainnat}
\bibliography{xbib}
\end{document}
xbib.bib
@article{Edel1978,
author = {R. K. Edel and H. E. Winn},
doi = {10.1007/BF00397155},
issn = {0025-3162},
issue = {3},
journal = {Marine Biology},
pages = {279-287},
title = {Observations on underwater locomotion and flipper
movement of the humpback whale Megaptera novaeangliae},
volume = {48},
year = {1978},
}
pdflatex dd978
Package natbib Warning: Citation `Edel1978' on page 1 undefined on input line 9
.
No file dd978.bbl.
Package natbib Warning: There were undefined citations.
bibtex dd978
This is BibTeX, Version 0.99d (TeX Live 2023)
The top-level auxiliary file: dd978.aux
The style file: plainnat.bst
Database file #1: xbib.bib
pdflatex dd978
Package natbib Warning: Citation `Edel1978' on page 1 undefined on input line 9
.
(./dd978.bbl [1{/usr/local/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdfte
x.map}] [2])
Package natbib Warning: There were undefined citations.
[3] (./dd978.aux
Package natbib Warning: Citation(s) may have changed.
(natbib) Rerun to get citations correct.
pdflatex dd978
Output written on dd978.pdf (3 pages, 57128 bytes).
Transcript written on dd978.log.

\cite{Li2020}which is not in the supplied bib file – David Carlisle Aug 04 '23 at 17:45./2-Literature Review.tex, 3 You have cited something which is not included in your bibliography. Make sure that the citation (\cite{...}) has a corresponding key in your bibliography, and that both are spelled the same way.
– Katherine Keogh Aug 04 '23 at 19:53.blgfile and if there are warnings or error messages in thelogfile also show them. – cabohah Aug 05 '23 at 10:06