A cup is a small, round container, usually with a handle, from which you drink hot drinks such as tea and coffee.
A mug is a large deep cup with straight sides and a handle, used for hot drinks. You don't rest a mug on a saucer. He spooned instant coffee into two of the mugs.