What is sip stack

How does a SIP stack work in VoIP communication?,