HPL Gamedesign interview question

What is the relation of Rigidbody components and Raycasts