Crypto Finance Interview Question

How do public and private keys work?