We study the role of rotating sunspots in relation to the evolution of various physical parameters characterizing the non-potentiality of the active region (AR) NOAA 11158 and its eruptive events using the magnetic field data from the Helioseismic and Magnetic Imager (HMI) and multi-wavelength observations from the Atmospheric Imaging Assembly (AIA) on board the Solar Dynamics Observatory. From the evolutionary study of HMI intensity and AIA channels, it is observed that the AR consists of two major rotating sunspots, one connected to a flare-prone region and another with coronal mass ejection (CME). The constructed space-time intensity maps reveal that the sunspots exhibited peak rotation rates coinciding with the occurrence of major eruptive events. Further, temporal profiles of twist parameters, namely, average shear angle, α av , α best , derived from HMI vector magnetograms, and the rate of helicity injection, obtained from the horizontal flux motions of HMI line-of-sight magnetograms, correspond well with the rotational profile of the sunspot in the CME-prone region, giving predominant evidence of rotational motion causing magnetic non-potentiality. Moreover, the mean value of free energy from the virial theorem calculated at the photospheric level shows a clear step-down decrease at the onset time of the flares revealing unambiguous evidence of energy release intermittently that is stored by flux emergence and/or motions in pre-flare phases. Additionally, distribution of helicity injection is homogeneous in the CME-prone region while in the flare-prone region it is not and often changes sign. This study provides a clear picture that both proper and rotational motions of the observed fluxes played significant roles in enhancing the magnetic non-potentiality of the AR by injecting helicity, twisting the magnetic fields and thereby increasing the free energy, leading to favorable conditions for the observed transient activity.