Warner Bros. interview question

Why are quaternions used in games programming?