polymorphic association vs HABTM

Hello,
    Is there any advantage of using polymorphic associations instead of
HABTM. Can anyone give me an example to explain.
Thank you.