iMessage won't do much unless the person you sending the message also has iMessage, so you both can have end to end encryption.
SMS is an extremely old standard that is anything but secure, it sends clear text messages across, to the point your carrier can see each and every message.
SMS are also extremely easy to intercept, and honestly you should avoid using SMS as 2FA method, is pretty much useless.