Beer from the tap is usually fresher than the bottled or canned product, and freshness impacts flavor. Its ingredients are usually prone to oxidization, which can also impact its flavor. As long as you keep your keg lines clean, your draft beer is generally going to be better than a bottle or can.