What’s the difference between a HyCoSy and an HSG?

It is impossible to book anywhere in Perth for a HyCoSy so my clinic said that an HSG was fine since the results are essentially the same.

I know that dye is put through the tubes for a HyCoSy but have no idea what an HSG involves?

Could someone please educate me?

I hope I've posted this in the right place.