Get entity that player is holding

Hello i would like to know if there is a function to know what entity a player is holding with physgun or gravity gun because for the moment i only found ent:IsPlayerHolding() but it does not return the player that is holding or the entity that he is holding, so i would like to have some help thanks