A quaternion is a type of number used to keep track of rotations in 3D space. It looks a bit like the familiar numbers you use everyday, but with four parts instead of three. The four parts are called 'components,' and they are denoted as qx, qy, qz and qw. qw is the real part, and it is equivalent to the number in regular math, like 7 or 4.5. qx, qy, and qz are the imaginary parts, and they represent spinning or rotating in 3D space. Together, they form a quaternion.