After performing quaternion multiplication I am getting (0,0,0,0). Could anyone let me know what it signifies.
(1 0 0 0) - Identity quaternion, no rotation,
(0 1 0 0) - 180° turn around X axis,
(0 0 1 0) - 180° turn around Y axis,
(0 0 0 1) - 180° turn around Z axis,
Likewise what could be the explanation for (0,0,0,0)
(0,0,0,0) is not a valid rotation quaternion, as they are required to have length 1.
If you want to get an intuition and some background information on how quaternions can describe 3d rotations, this is the perfect starting point:
https://eater.net/quaternions
The two guys did an outstanding job explaining and visualizing quaternions.