Unlike the area type tool that constrains text
within a path, the “type on a path tool” keeps text
on a path. Start by
creating a path using the pen tool. Then, select the type on a path tool from the toolbar. Click on the path to bring up a blinking cursor, and any text you type will remain on the line (and curves) of the path.