Some homogeneous and inhomogeneous models of universe with reference to alternative theories of gravitation