An Analytical Approach to Understand Projective, Injective and Flat Modules