Meaning of 주문하다
I recently learned the word 주문하다, and its translation was given as "to order".
Does this mean "order" in the sense of commanding someone to do something, or "order" like ordering food at a restaurant? Or can it be used in both those cases like in English?