Ray_cast in scene (not BGE)

Hello!

For my specific needs in the blender scene (not BGE), I want to make a script that allows me to:
1 / Get the name of the mesh under the cursor of the mouse.
2 / Get the coordinates (xyz) of the location of the mesh under the cursor.

In the API, the “ray_cast (start, end)” function seems to allow this, but my knowledge in “Blender Python” does not allow me to go further!
Someone has already used it?

Thank you for your help.