In this work we present a review of the calculations of homogeneous and anisotropic cosmological
models, particularly the Kantowski-Sachs cosmological model. As an innovative
contribution, we calculate an exact solution to the field equations with a general expression
for the material content of the universe. We obtain the expressions for energy density in this
general case. We also study the case involving a scalar field. We investigate the evolution
dynamics of the model, encompassing the Hubble, density, and deceleration parameters. We
calculate the kinematic parameters associated with the model, namely: the scalar expansion
Θ, the shear scalar σ, the rotation parameter ω and the parameter RαβUαUβ, also
known as Raychaudhuri scalar or convergence condition, all these parameters expressed in
the Raychaudhuri equation.