It depends. Thanks to
Handoff you can send SMS from your Mac to any Phone. Technically those will be sent from your iPhone.
If the Number and the Textbackground is green it's a SMS if it's blue it's an iMessage. iMessages can only received by OS X and iOS.
You can even make phone calls from your Mac if your iPhone is in the same Network (WiFi) or near your Mac (via Bluetooth).