so a straight line can also be a curve

Theoretically yes but actually no. A curve is a line of which no part is straight and which shows diagrammatically a continuous variation of quantity or force etc. It can also be a surface of which no part is plane.