Premium and discounts

Will someone please help me understand the point of selling and buying bonds at premium and discounts? I guess I don'y understand why a company would want to sell at a premium and get less interest? and Vise versa. Any extra clarification on this topic would be helpful. THANK YOU!