The tubes also have a hand grip on them, which is where the tattoo artist holds the tattoo machine. The parts of a tattoo machine are the frame with attached pieces, the tubes which can be removed for sterilization for each tattoo, and the needles that are inserted into the tubes and stick out the tubes opening at the end.
It is important to make sure you have the right tools before attempting something as permanent as a tattoo. All tattoo equipment is not the same, not in quality, price or purpose.