J.P. Morgan interview question

Explain how options function and their purpose.