Obedience is a form of social influence where an individual acts in response to a direct order from another individual, who is usually an authority figure. It is assumed that without such an order the person would not have acted in this way.
Obedience occurs when you are told to do something (authority), whereas conformity happens through social pressure (the norms of the majority). Obedience involves a hierarchy of power / status. Therefore, the person giving the order has a higher status than the person receiving the order.