YOU SAID:
my cat said hello to the fish and died
INTO JAPANESE
私の猫は魚に挨拶して死んだ
BACK INTO ENGLISH
my cat died greeting a fish
INTO JAPANESE
私の猫は魚に挨拶して死んだ
BACK INTO ENGLISH
my cat died greeting a fish
That didn't even make that much sense in English.