Battery CR2032

Why is a battery needed ?
How long can it last ?
Is it easy to replace ?

Thank you in advance