In this article, we investigate the mechanics of breathing performed by a ventilator with different kernels by an effective integral transform. We mainly obtain the solutions of the fractional respiratory mechanics model. Our goal is to give the underlying model flexibly by making use of the advantages of the non-integer order operators. The big advantage of fractional derivatives is that we can formulate models describing much better the systems with memory effects. Fractional operators with different memories are related to different types of relaxation process of the non-local dynamical systems. Additionally, since we consider the utilisation of different kinds of fractional derivatives, most often having benefit in the implementation, the similarities and differences can be obviously seen between these derivatives.