The utilization of the Lie group method serves to encapsulate a diverse array of wave structures. This method, established as a robust and reliable mathematical technique, is instrumental in deriving precise solutions for nonlinear partial differential equations (NPDEs) across a spectrum of domains. Its applications span various scientific disciplines, including mathematical physics, nonlinear dynamics, oceanography, engineering sciences, and several others. This research focuses specifically on the crucial molecule DNA and its interaction with an external microwave field. The Lie group method is employed to establish a five-dimensional symmetry algebra as the foundational element. Subsequently, similarity reductions are led by a system of one-dimensional subalgebras. Several invariant solutions as well as a spectrum of wave solutions is obtained by solving the resulting reduced ordinary differential equations (ODEs). These solutions govern the longitudinal displacement in DNA, shedding light on the characteristics of DNA as a significant real-world challenge. The interactions of DNA with an external microwave field manifest in various forms, including rational, exponential, trigonometric, hyperbolic, polynomial, and other functions. Mathematica simulations of these solutions confirm that longitudinal displacements in DNA can be expressed as periodic waves, optical dark solitons, singular solutions, exponential forms, and rational forms. This study is novel as it marks the first application of the Lie group method to explore the interaction of DNA molecules.