 associated with each particle.Using all three coordinates of 3D space is unnecessary if there are constraints on the system.If the system has degrees of freedom, then one can use a set of generalized coordinates , to define the configuration of the system.