When do I use hittest and eval?

Can someone tell me when I use hittest and eval?

Probably wrong, but I thought both were depreciated?
What uses do they have?

Thanks.

OM