How do glass pipes work?

im gonna start making them. i know i need the bowl, the choke and everytinhg else but HOW do they work? wudnt the glass get hot? and wats the best way to make them?