Rotate object with its own local axis

In this example from the collection, I use quaternions. Maybe you can experiment with it to understand it better: FlightRouteQuaternion