Transforming Line

Hi everyone! I need to know if it is possible to create a 3d model using just a line.  Am i able to create a pipe(for example) just using  line and transfoming this line in a tube with some pre-specifiction, like diameter, etc...?

SolidworksParts And Features