Unveiling the Mysteries of High-Redshift Galaxies: Insights from the JWST