From pixel coordinates to 3D coordinates

Hello there, I was wondering if there was a way to acces the XYZ coordinates of a 3D point in a point cloud given the XY coordinates of the corrispondent pixel in the original RGB image. I’m quite of a newbie so probably I’m missing some basic procedure, but I couldn’t find anything related. Thanks in advance