encryption – Diff between tor over vpn and vpn over tor

I saw many posts on the forum intending that tor over vpn is different from vpn over tor and one is better than other .but i was unable to find any explanation over it
and there were some speculations that you should not reroute all your data through tor as the last node will be able to read unencrypted data. so using a “encrypted vpn service and then routing all your data through tor ,will the exit node be able to see the data then as well?