You can use the Pen Tool to draw shapes on a 2D plane.
p + spacebar
to activate the Pen Tool. You can also find the pen tool under ‘Draw’ menu in the top toolbar.To edit your curve, double click on the curve and the points will appear. You can move the points and curve handles around to edit.
You can fill and extrude the curve in the sidebar to make 3D geometry.