How exactly does insurance work in blackjack?

I am under the impression that if im betting 10 bucks and dealer is showing an ace, then I place 5 more bucks down and if dealer hits bj then i take all my money back, and if he doesnt then he takes the 5 and play continues. Right? Sorry about the poor english, I rushed through this.
10 answers 10