In physics, there are two types of magnitudes: scalar and vector. The former is given with a number and units, while the latter, in addition to being represented by a numerical value, is identified with a direction and line.
Choosing scalars or vectors to determine the physical magnitude will depend on the nature of what is being measured or calculated. For example, to describe temperatures, densities, or masses, numerical representation is used, and these are understood as scalar magnitudes. However, to calculate velocities, forces, acceleration, thermal energy, weights, or powers, vectors are used.