How to judge whether an object's trajectory is a straight line or a parabola?

How to judge whether an object's trajectory is a straight line or a parabola?

The motion state is related to the force on the object. You can analyze the force on the object. Decompose all the forces in the rectangular coordinate system. 1. If the received forces are in the vertical direction, then the motion trajectory of the object must be a vertical straight line. 2. If the force is powerful in the horizontal direction, then you have to consider if the horizontal direction