Used to indicate agreement.
Used to imply innuendo.
Used to introduce a refutation, sometimes sarcastically.
A positive yes, of course.