Work is not related to direction, because it is a scalar quantity.
THE CHEMISTRY ANSWER:
Work is part of the energy of a system. Energy has size but no direction. It is a scalar quantity, so work is also a scalar quantity. Work is not related to direction.
THE MATHEMATICS ANSWER
Work is the dot product of force and displacement, both of which are vectors.