Warner Bros. Interview Question

Why are quaternions used in games programming?