It's a playful and casual way to express agreement with someone, especially in a lighthearted or flirty context.